0 day streak

Target coding interview questions

E-commerce and consumerProduct India Machine coding / LLD

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
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Expedia Group +43 Solve
Edit DistanceStrings Medium Dynamic Programming Google, LinkedIn, Okta +18 Solve
Binary Tree Zigzag Level Order TraversalTraversals Medium Trees & BST Amazon, LinkedIn, Nutanix +23 Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Google, Microsoft, Airbnb +43 Solve
Product of Array Except SelfRight to Left Traversal Medium Arrays & Hashing Amazon, Microsoft, Meta +37 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Asteroid CollisionStack Basics Medium Stack Amazon, Microsoft, Nvidia +33 Solve
Rotting OrangesMulti source BFS Medium Graphs Google, Amazon, Microsoft +48 Solve
Kth Largest Element in a StreamTop K / Kth Largest / Smallest Easy Heaps Google, Zillow, Goldman Sachs +8 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Amazon, Microsoft +68 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Longest Common PrefixString Basics Easy Arrays & Hashing Amazon, Microsoft, Bloomberg +41 Solve
Sort Characters By FrequencyTop K / Kth Largest / Smallest Medium Heaps Scale AI, Citi, EPAM Systems +6 Solve
Two Sum II - Input Array Is SortedTwo Pointer Medium Arrays & Hashing Wayfair, JPMorgan Chase, BNY +5 Solve
Kth Largest Element in an ArrayTop K / Kth Largest / Smallest Medium Heaps Amazon, Meta, Apple +51 Solve
Also reported, being added to AlgoRung (2)

Longest Path With Different Adjacent Characters · Product of the Last K Numbers

Questions people ask

What coding questions does Target ask most?

Sort Colors, Edit Distance, Binary Tree Zigzag Level Order Traversal, House Robber, Product of Array Except Self, Two Sum, Asteroid Collision, Rotting Oranges.

Which topics come up in Target coding rounds?

arrays, strings, trees, stack, dynamic programming, graphs.

How hard are Target coding questions?

Of the reported questions, 3 are easy, 12 medium and 0 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.