# Yelp Coding Interview Questions

> 27 DSA problems asked in Yelp coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/yelp
Last updated: 2026-11-28

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](https://www.internhack.in/learn/dsa/problem/check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence) (Easy)
2. [Destination City](https://www.internhack.in/learn/dsa/problem/destination-city) (Easy)
3. [Longest Common Prefix](https://www.internhack.in/learn/dsa/problem/longest-common-prefix) (Easy)
4. [Minimum Index Sum of Two Lists](https://www.internhack.in/learn/dsa/problem/minimum-index-sum-of-two-lists) (Easy)
5. [Reverse Linked List](https://www.internhack.in/learn/dsa/problem/reverse-linked-list) (Easy)
6. [Two Sum](https://www.internhack.in/learn/dsa/problem/two-sum) (Easy)
7. [Valid Anagram](https://www.internhack.in/learn/dsa/problem/valid-anagram) (Easy)
8. [Active Businesses](https://www.internhack.in/learn/dsa/problem/active-businesses) (Medium)
9. [Course Schedule](https://www.internhack.in/learn/dsa/problem/course-schedule) (Medium)
10. [Decode String](https://www.internhack.in/learn/dsa/problem/decode-string) (Medium)
11. [Filter Restaurants by Vegan-Friendly, Price and Distance](https://www.internhack.in/learn/dsa/problem/filter-restaurants-by-vegan-friendly-price-and-distance) (Medium)
12. [Group Anagrams](https://www.internhack.in/learn/dsa/problem/group-anagrams) (Medium)
13. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
14. [Letter Case Permutation](https://www.internhack.in/learn/dsa/problem/letter-case-permutation) (Medium)
15. [Longest Substring Without Repeating Characters](https://www.internhack.in/learn/dsa/problem/longest-substring-without-repeating-characters) (Medium)
16. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
17. [Remove Colored Pieces if Both Neighbors are the Same Color](https://www.internhack.in/learn/dsa/problem/remove-colored-pieces-if-both-neighbors-are-the-same-color) (Medium)
18. [Reverse Words in a String](https://www.internhack.in/learn/dsa/problem/reverse-words-in-a-string) (Medium)
19. [Shortest and Lexicographically Smallest Beautiful String](https://www.internhack.in/learn/dsa/problem/shortest-and-lexicographically-smallest-beautiful-string) (Medium)
20. [String Compression](https://www.internhack.in/learn/dsa/problem/string-compression) (Medium)
21. [Top K Frequent Elements](https://www.internhack.in/learn/dsa/problem/top-k-frequent-elements) (Medium)
22. [Top K Frequent Words](https://www.internhack.in/learn/dsa/problem/top-k-frequent-words) (Medium)
23. [Find the Closest Palindrome](https://www.internhack.in/learn/dsa/problem/find-the-closest-palindrome) (Hard)
24. [Insert Delete GetRandom O(1) - Duplicates allowed](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1-duplicates-allowed) (Hard)
25. [The Skyline Problem](https://www.internhack.in/learn/dsa/problem/the-skyline-problem) (Hard)
26. [Word Ladder](https://www.internhack.in/learn/dsa/problem/word-ladder) (Hard)
27. [Word Ladder II](https://www.internhack.in/learn/dsa/problem/word-ladder-ii) (Hard)

## Prepare for the rest of the Yelp process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
