Algorithm Design Interview Questions
7 interview questions in our bank cover Algorithm Design, most of them Coding Questions. They average 3.4/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about Algorithm Design: Google, Apple, Waymo, OpenAI, Microsoft, and 1 more.
Practice these on the problems board →Companies that ask about Algorithm Design
Question mix
- Coding Questions7
Difficulty
- 2/5 — easy1
- 3/5 — medium2
- 4/5 — hard4
Algorithm Design questions at Google
Recover a Hidden Word with Position Queries
2/5A coding question on recovering a hidden string through a yes/no oracle about single positions. It asks for a bounded number of oracle calls and discusses how extra knowledge about the candidates can reduce that count.
Coding QuestionsGoogleFind All Bad Pairs Using runTest Oracle
4/5A coding question about discovering hidden conflicting pairs among a set of items when the only tool is a yes/no test on any chosen subset. The goal is an exact answer using far fewer tests than checking every pair.
Coding QuestionsGoogle
More Algorithm Design questions
Find Median via Count Oracles
4/5Faced in Apple technical interviews, this algorithmic challenge requires determining the median element of a hidden collection without ever directly reading its underlying values. Instead, you must rely on specialized query functions that return frequency counts relative to arbitrary thresholds. This problem tests your mastery of binary search paradigms and query optimization strategies to efficiently narrow down the target value within logarithmic bounds. Discover the full problem breakdown, analytical insights, and the complete model solution by upgrading to a paid subscription.
Coding QuestionsAppleUniversal Direction Sequence for an Unknown-Position Robot in a Maze
4/5This intriguing Waymo interview challenge places a mobile agent inside an obstructed two-dimensional grid with an unknown starting location and requires you to devise a deterministic sequence of directional commands that guarantees navigation to the destination. Because the initial position is completely hidden, your logic must systematically reduce uncertainty and account for boundary collisions until every potential starting cell successfully converges on the target. Unlock the full problem details and comprehensive model solution by purchasing a subscription.
Coding QuestionsWaymoMath Reasoning: Stopping Time / Las Vegas Algorithm
4/5Examine a sophisticated probability and stochastic reasoning challenge frequently asked in OpenAI technical interviews, focusing on optimizing randomized algorithms through strategic timeout designs. This exercise evaluates your mastery of mathematical bounds, expected value calculations, and restart strategies to minimize completion times for probabilistic tasks under uncertainty. It tests theoretical reasoning rather than raw programming skill. The complete analytical breakdown and expert solutions require a paid subscription.
Coding QuestionsOpenAIValidate Lat/Long With Minimum Expensive API Calls
3/5A coding question on checking stored store coordinates against a paid geocoding service. The learner must return a validity flag for every row while keeping the number of paid service calls as low as the stated rules allow.
Coding QuestionsMicrosoftFlappy Bird Controller: Decide When to Jump
3/5A coding question about writing a decision function for a physics-based arcade game. The function receives the current position, velocity and next obstacle, and must keep the player alive through a long course.
Coding QuestionsCoinbase
Studied alongside
Algorithm Design interview FAQ
- How many Algorithm Design interview questions are there?
- 7 reported questions, mostly Coding Questions.
- Which companies ask Algorithm Design questions?
- Google (2), Apple (1), Waymo (1), OpenAI (1), Microsoft (1), Coinbase (1).
- How hard are Algorithm Design questions?
- They average 3.4 out of 5: 1 at 2/5, 2 at 3/5, 4 at 4/5.