Yelp interview questions¶
The most frequent LeetCode problems tagged to Yelp. This is a data-only page. For process and behavioral prep, use the coding guide and behavioral guide.
Based on 0 distinct problems tagged to Yelp in the last 6 months (0 in the last 30 days, 0 in the last 3 months, 27 all-time) across two open datasets of LeetCode company tags. Tags are user-reported, so treat frequency as a signal, not a promise.
Most frequent problems¶
Ranked by frequency, weighted toward the last 30 days. Classics like Two Sum sit near the top of almost every company's list because users tag them everywhere. Solve those fast. The signature list below is more specific to this company.
| # | Problem | Difficulty | Last seen | Topics |
|---|---|---|---|---|
| 1 | Check If a Word Occurs As a Prefix of Any Word in a Sentence | Easy | Older | Two Pointers, String, String Matching |
| 2 | Course Schedule | Medium | Older | Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort |
| 3 | Decode String | Medium | Older | String, Stack, Recursion |
| 4 | Destination City | Easy | Older | Array, Hash Table, String |
| 5 | Filter Restaurants by Vegan-Friendly, Price and Distance | Medium | Older | Array, Sorting |
| 6 | Find the Closest Palindrome | Hard | Older | Math, String |
| 7 | Group Anagrams | Medium | Older | Array, Hash Table, String, Sorting |
| 8 | Insert Delete GetRandom O(1) | Medium | Older | Array, Hash Table, Math, Design |
| 9 | Insert Delete GetRandom O(1) - Duplicates allowed | Hard | Older | Array, Hash Table, Math, Design |
| 10 | Letter Case Permutation | Medium | Older | String, Backtracking, Bit Manipulation |
| 11 | Longest Common Prefix | Easy | Older | Array, String, Trie |
| 12 | Longest Substring Without Repeating Characters | Medium | Older | Hash Table, String, Sliding Window |
| 13 | Merge Intervals | Medium | Older | Array, Sorting, Quicksort |
| 14 | Minimum Index Sum of Two Lists | Easy | Older | Array, Hash Table, String |
| 15 | Remove Colored Pieces if Both Neighbors are the Same Color | Medium | Older | Math, String, Greedy, Game Theory |
| 16 | Reverse Linked List | Easy | Older | Linked List, Recursion |
| 17 | Reverse Words in a String | Medium | Older | Two Pointers, String |
| 18 | String Compression | Medium | Older | Two Pointers, String |
| 19 | The Skyline Problem | Hard | Older | Array, Divide and Conquer, Binary Indexed Tree, Segment Tree |
| 20 | Top K Frequent Elements | Medium | Older | Array, Hash Table, Divide and Conquer, Sorting |
| 21 | Top K Frequent Words | Medium | Older | Array, Hash Table, String, Trie |
| 22 | Two Sum | Easy | Older | Array, Hash Table |
| 23 | Valid Anagram | Easy | Older | Hash Table, String, Sorting |
| 24 | Word Ladder | Hard | Older | Hash Table, String, Breadth-First Search, Bidirectional Search |
| 25 | Word Ladder II | Hard | Older | Hash Table, String, Backtracking, Breadth-First Search |
| 26 | Minimum Value to Get Positive Step by Step Sum | Easy | Older | Array, Prefix Sum |
| 27 | Shortest and Lexicographically Smallest Beautiful String | Medium | Older | String, Sliding Window |
Sources¶
- liquidslr/leetcode-company-wise-problems and snehasishroy/leetcode-companywise-interview-questions, merged by scripts/build_question_data.py.
Next: More companies