Yelp logo

Yelp Interview Questions

9 practice questions for Yelp technical interviews

coding Hard Verified

Phrase Tokenizer


Category: String coding problem
Given a string of space-separated words and a dictionary of recognized phrases, split the string into tokens. Phrases in the dictionary represent...
Input: String
Output: Computed result
coding Hard Verified

Conference Buddy Pairing


Category: String coding problem
You are organizing a conference and want to pair up attendees as buddies. Each attendee belongs to a department.
Input: Array of pairs
Output: Integer
coding Medium Verified

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 Easy Verified

Jaccard Word Similarity


Category: String coding problem
Given two document title strings doc1 and doc2, compute their word-level Jaccard similarity. Split each title into words by spaces and treat each...
Input: String
Output: Computed result
coding Medium Verified

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

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

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

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

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