0 day streak

Turing coding interview questions

Service and IT Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Validate IP AddressSimulation Medium Arrays & Hashing Meta, Nvidia, X (Twitter) +14 Solve
Minimum Cost For Tickets1D DP Medium Dynamic Programming Grab, Roku, EPAM Systems +3 Solve
Koko Eating BananasBinary Search on Answer Space Medium Binary Search Amazon, Netflix, Uber +34 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +68 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +101 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +107 Solve
Degree of an ArrayHashing Easy Arrays & Hashing Robinhood, Expedia Group, Agoda +5 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +114 Solve
Find First and Last Position of Element in Sorted ArrayBisect Medium Binary Search Meta, LinkedIn, Nvidia +29 Solve
Race Car1D DP Hard Dynamic Programming Google, Anduril Solve
Jump GameGreedy Medium Arrays & Hashing Google, Apple, DoorDash +28 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Amazon, Microsoft +68 Solve
Longest Common PrefixString Basics Easy Arrays & Hashing Amazon, Microsoft, Bloomberg +41 Solve
Baseball GameStack Basics Easy Stack Reddit Solve
Product of Array Except SelfRight to Left Traversal Medium Arrays & Hashing Amazon, Microsoft, Meta +37 Solve
Kth Largest Element in an ArrayTop K / Kth Largest / Smallest Medium Heaps Amazon, Meta, Apple +51 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Median of Two Sorted ArraysBinary Search on Partition Hard Binary Search Google, Amazon, Microsoft +49 Solve
Also reported, being added to AlgoRung (17)

Widest Possible Fence · Minimum Length of Anagram Concatenation · Longest Arithmetic Subsequence · Apply Operations to Make Sum of Array Greater Than or Equal to k · Minimum Number of Operations to Satisfy Conditions · Minimum Adjacent Swaps for K Consecutive Ones · Minimum Cost Walk in Weighted Graph · Ugly Number II · Sum of Digit Differences of All Pairs · K Divisible Elements Subarrays · Count Square Sum Triples · Non-decreasing Array · Permutation Sequence · Find the Town Judge · Maximum Repeating Substring · Partition Array Into Three Parts With Equal Sum · Minimum Number of Operations to Make Word K-Periodic

Questions people ask

What coding questions does Turing ask most?

Longest Substring Without Repeating Characters, Validate IP Address, Minimum Cost For Tickets, Koko Eating Bananas, Valid Parentheses, Longest Palindromic Substring, Best Time to Buy and Sell Stock, Two Sum.

Which topics come up in Turing coding rounds?

arrays, strings, sliding window, binary search, dynamic programming, greedy.

How hard are Turing coding questions?

Of the reported questions, 6 are easy, 14 medium and 2 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.