Yelp Coding Interview Questions

27 DSA problems tagged as asked in Yelp coding interviews and online assessments. Below are all 27: 7 easy, 15 medium and 5 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Yelp DSA problems, easiest first

  1. Check If a Word Occurs As a Prefix of Any Word in a Sentence (Easy)
  2. Destination City (Easy)
  3. Longest Common Prefix (Easy)
  4. Minimum Index Sum of Two Lists (Easy)
  5. Reverse Linked List (Easy)
  6. Two Sum (Easy)
  7. Valid Anagram (Easy)
  8. Active Businesses (Medium)
  9. Course Schedule (Medium)
  10. Decode String (Medium)
  11. Filter Restaurants by Vegan-Friendly, Price and Distance (Medium)
  12. Group Anagrams (Medium)
  13. Insert Delete GetRandom O(1) (Medium)
  14. Letter Case Permutation (Medium)
  15. Longest Substring Without Repeating Characters (Medium)
  16. Merge Intervals (Medium)
  17. Remove Colored Pieces if Both Neighbors are the Same Color (Medium)
  18. Reverse Words in a String (Medium)
  19. Shortest and Lexicographically Smallest Beautiful String (Medium)
  20. String Compression (Medium)
  21. Top K Frequent Elements (Medium)
  22. Top K Frequent Words (Medium)
  23. Find the Closest Palindrome (Hard)
  24. Insert Delete GetRandom O(1) - Duplicates allowed (Hard)
  25. The Skyline Problem (Hard)
  26. Word Ladder (Hard)
  27. Word Ladder II (Hard)

Prepare for the rest of the Yelp process

Other companies