Yelp Coding Interview Questions: 22 Tagged Problems
22 coding problems tagged Yelp — 7 easy · 12 medium · 3 hard — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 22
- By difficulty: 7 easy · 12 medium · 3 hard
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
22 problems the CodeKairo catalogue tags as commonly asked in Yelp's coding rounds — 7 easy, 12 medium and 3 hard — each judged by hidden tests in 13 languages. The most common topics among them are Strings (15), Hash Table (9) and Arrays (8). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Yelp, which CodeKairo is not affiliated with.
Yelp study plan by topic
All 22 problems tagged Yelp over 2 weeks, about 11 h 50 min of solving, grouped by technique in the order they build on each other — Strings, Hash Table, Counting and Two Pointers and 12 more.
Week 1: Strings, Hash Table, Counting +4
11 problems on Strings, Hash Table, Counting, Two Pointers, Sliding Window, Prefix Sum and Bucket Sort, easiest first within each topic.
- Longest Common Prefix Easy
- Check If a Word Occurs As a Prefix of Any Word in a Sentence Easy
- Two Sum Easy
- Isomorphic Strings Easy
- Minimum Index Sum of Two Lists Easy
- Valid Anagram Easy
- String Compression Medium
- Reverse Words in a String Medium
- Longest Substring Without Repeating Characters Medium
- Minimum Value to Get Positive Step by Step Sum Easy
- Top K Frequent Elements Medium
Week 2: Intervals, Recursion, Divide and Conquer +6
11 problems on Intervals, Recursion, Divide and Conquer, Heap, Trie, Backtracking, Breadth-First Search, Topological Sort and Game Theory, easiest first within each topic.
- Merge Intervals Medium
- Meeting Rooms II Medium
- Decode String Medium
- Integer to English Words Hard
- The Skyline Problem Hard
- Top K Frequent Words Medium
- Word Break Medium
- Letter Case Permutation Medium
- Word Ladder Hard
- Course Schedule Medium
- Remove Colored Pieces if Both Neighbors are the Same Color Medium
All problems tagged Yelp
Easy (7)
- Minimum Index Sum of Two Lists Array, String, Hash Table
- Check If a Word Occurs As a Prefix of Any Word in a Sentence String
- Minimum Value to Get Positive Step by Step Sum Array, Prefix Sum
- Isomorphic Strings String, Hash Table
- Longest Common Prefix String
- Valid Anagram Hash Table, String, Sorting
- Two Sum Array, Hash Table
Medium (12)
- Letter Case Permutation String, Backtracking, Bit Manipulation
- Remove Colored Pieces if Both Neighbors are the Same Color Math, String, Greedy
- Top K Frequent Words Array, Hash Table, String
- String Compression Two Pointers, String
- Reverse Words in a String Two Pointers, String
- Course Schedule Graph, Topological Sort, Depth-First Search
- Meeting Rooms II Array, Sorting, Heap
- Merge Intervals Array, Sorting, Intervals
- Top K Frequent Elements Array, Heap, Hash Table
- Word Break String, Dynamic Programming, Hash Table
- Decode String String, Stack, Recursion
- Longest Substring Without Repeating Characters String, Sliding Window, Hash Table
Hard (3)
- The Skyline Problem Array, Divide and Conquer, Heap (Priority Queue)
- Integer to English Words String, Math, Recursion
- Word Ladder Hash Table, String, Breadth-First Search
Topics Yelp asks most
- Strings 15 problems
- Hash Table 9 problems
- Arrays 8 problems
- Sorting 4 problems
- Heap 4 problems
- Counting 2 problems
- Math 2 problems
- Two Pointers 2 problems
- Intervals 2 problems
- Recursion 2 problems
- Sliding Window 1 problem
- Prefix Sum 1 problem