0 day streak

Yelp coding interview questions

Product 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
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Longest Common PrefixString Basics Easy Arrays & Hashing Amazon, Microsoft, Bloomberg +41 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +107 Solve
Word Ladder IIBFS for shortest path Hard Graphs Microsoft, Nutanix, Tesla +8 Solve
Word LadderBFS for shortest path Hard Graphs Google, Amazon, Microsoft +39 Solve
Reverse Words in a StringDouble Reversal Trick Medium Arrays & Hashing Microsoft, Nvidia, Snap +38 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Course ScheduleTopological Sort Medium Graphs Google, Amazon, Microsoft +42 Solve
The Skyline ProblemAdvanced Hard Heaps Google, Microsoft, X (Twitter) +3 Solve
Valid AnagramHashing Easy Arrays & Hashing Netflix, Databricks, Bloomberg +42 Solve
Top K Frequent ElementsComposite comparator Medium Heaps Google, Amazon, Microsoft +53 Solve
Insert Delete GetRandom O(1)Hash Map + Array Medium Design Data Structures Google, Amazon, Apple +50 Solve
Insert Delete GetRandom O(1) - Duplicates allowedHash Map + Array Hard Design Data Structures LinkedIn, Snowflake, Okta +1 Solve
Decode StringStack Basics Medium Stack Google, Amazon, Microsoft +31 Solve
String CompressionTwo Pointer Medium Arrays & Hashing Microsoft, Stripe, Nvidia +34 Solve
Find the Closest PalindromeCandidate Generation Hard Arrays & Hashing Uber Solve
Top K Frequent WordsTop K / Kth Largest / Smallest Medium Heaps Google, Amazon, Bloomberg +17 Solve
Minimum Value to Get Positive Step by Step SumPrefix Sum Strategy Easy Arrays & Hashing Qualcomm, D. E. Shaw, Dell Technologies +2 Solve
Integer to English WordsSimulation Hard Arrays & Hashing Meta, Snowflake, Palantir +17 Solve
Reconstruct ItineraryEulerian Path (Hierholzer) Hard Graphs Amazon, Netflix, Airbnb +16 Solve
Design TwitterMerge K Sorted Medium Heaps Amazon, X (Twitter), Okta +5 Solve
Word Break1D DP Medium Dynamic Programming Google, Amazon, Microsoft +35 Solve
Random Pick with WeightBasics Medium Binary Search Google, Amazon, Meta +18 Solve
Meeting Rooms IILine Sweep Medium Intervals Google, Amazon, Meta +50 Solve
Isomorphic StringsHashing Easy Arrays & Hashing LinkedIn, Yandex, American Express +6 Solve
Generate ParenthesesPick / Not-Pick Medium Recursion & Backtracking Google, Amazon, Microsoft +28 Solve
Combination Sum (repeating elements)Pick / Not-Pick Medium Recursion & Backtracking Airbnb, Pinterest, Snap +20 Solve
Sliding Window MaximumMonotonic Stack Hard Monotonic Stack Google, Amazon, Microsoft +51 Solve
Intersection of Two ArraysTwo Pointer Easy Arrays & Hashing Meta, Lyft, MongoDB +13 Solve
Also reported, being added to AlgoRung (7)

Destination City · Filter Restaurants by Vegan-Friendly, Price and Distance · Minimum Index Sum of Two Lists · Remove Colored Pieces if Both Neighbors are the Same Color · Check If a Word Occurs As a Prefix of Any Word in a Sentence · Letter Case Permutation · Shortest and Lexicographically Smallest Beautiful String

Questions people ask

What coding questions does Yelp ask most?

Two Sum, Longest Substring Without Repeating Characters, Longest Common Prefix, Group Anagrams, Merge Intervals, Word Ladder II, Word Ladder, Reverse Words in a String.

Which topics come up in Yelp coding rounds?

strings, hash maps, heaps, graphs, intervals, sorting.

How hard are Yelp coding questions?

Of the reported questions, 7 are easy, 16 medium and 8 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.