Yelp logo

Yelp Medium Interview Questions

6 medium-level practice questions for Yelp technical interviews

coding Medium Verified Question #1

1. Dependency Chain End


Category: Graph coding problem
You are given a list of task dependency pairs [a, b] meaning task a is blocked by task b (i.e., a must wait for b). Each task blocks at...
Input: Graph (nodes and edges)
Output: Computed result
coding Medium Verified Question #2

2. Overlap String Join


Category: String coding problem
Given two code snippet strings s1 and s2, merge them by finding the longest suffix of s1 that exactly matches a prefix of s2. Join the two...
Input: String
Output: Printed output
coding Medium Verified Question #3

3. Product Search Engine


Category: Algorithm coding problem
Design a ProductSearch class for a product catalog search engine. The constructor takes a list of product names. The search(keyword) method...
Input: List
Output: Computed result
coding Medium Verified Question #4

4. Top K Active Customers


Category: String coding problem
You are given a list of support tickets where each ticket is [agent, customer, issue]. A customer's engagement score is the number of unique agents...
Input: List
Output: Computed result
coding Medium Verified Question #5

5. Top K Keyword Products


Category: Algorithm coding problem
You are given a list of product catalog item names and a search prefix. Return the top k item names where at least one word in the name starts with...
Input: List
Output: Array
coding Medium Verified Question #6

6. Traffic Spike Counter


Category: Sliding window coding problem
You are given an array of hourly traffic measurements and a spike detection config. Count how many sliding windows of a given size trigger a spike...
Input: Array
Output: Computed result

No AI generated questions yet for Yelp.

Start practicing Yelp questions

Sign up for free to access walkthroughs, AI-generated questions, and more.

Get Started Free