grindmapcompany-wise LeetCode
All companies

Yelp LeetCode Questions

27 questions all-time · 7 easy · 15 medium · 5 hard
# Problem Difficulty Frequency Acceptance
1Destination City
Array, Hash Table, String
Easy
100
0.8%
2Filter Restaurants by Vegan-Friendly, Price and Distance
Array, Sorting
Medium
98
0.6%
3Two Sum
Array, Hash Table
Easy
95
0.6%
4Longest Substring Without Repeating Characters
Hash Table, String, Sliding Window
Medium
95
0.4%
5Longest Common Prefix
Array, String, Trie
Easy
95
0.5%
6Group Anagrams
Array, Hash Table, String, Sorting
Medium
95
0.7%
7Merge Intervals
Array, Sorting
Medium
95
0.5%
8Word Ladder II
Hash Table, String, Backtracking, Breadth-First Search
Hard
95
0.3%
9Word Ladder
Hash Table, String, Breadth-First Search
Hard
95
0.5%
10Reverse Words in a String
Two Pointers, String
Medium
95
0.6%
11Active Businesses
Database
Medium
95
0.7%
12Reverse Linked List
Linked List, Recursion
Easy
95
0.8%
13Course Schedule
Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort
Medium
95
0.5%
14The Skyline Problem
Array, Divide and Conquer, Binary Indexed Tree, Segment Tree, Sweep Line, Sorting, Heap (Priority Queue), Ordered Set
Hard
95
0.5%
15Valid Anagram
Hash Table, String, Sorting
Easy
95
0.7%
16Top K Frequent Elements
Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect
Medium
95
0.7%
17Insert Delete GetRandom O(1)
Array, Hash Table, Math, Design, Randomized
Medium
95
0.6%
18Insert Delete GetRandom O(1) - Duplicates allowed
Array, Hash Table, Math, Design, Randomized
Hard
95
0.4%
19Decode String
String, Stack, Recursion
Medium
95
0.6%
20String Compression
Two Pointers, String
Medium
95
0.6%
21Check If a Word Occurs As a Prefix of Any Word in a Sentence
Two Pointers, String, String Matching
Easy
95
0.7%
22Find the Closest Palindrome
Math, String
Hard
95
0.3%
23Minimum Index Sum of Two Lists
Array, Hash Table, String
Easy
95
0.6%
24Top K Frequent Words
Array, Hash Table, String, Trie, Sorting, Heap (Priority Queue), Bucket Sort, Counting
Medium
95
0.6%
25Letter Case Permutation
String, Backtracking, Bit Manipulation
Medium
95
0.8%
26Remove Colored Pieces if Both Neighbors are the Same Color
Math, String, Greedy, Game Theory
Medium
95
0.6%
27Shortest and Lexicographically Smallest Beautiful String
String, Sliding Window
Medium
55
0.4%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.