Lyft Interview Prep

Lyft sits in the same problem space as Uber — real-time driver location, matching, pricing, and trip state — but runs a smaller and less algorithm-heavy loop. The reported question pool is short enough to finish in a week, and it leans towards stateful data structures and streams rather than hard graph theory: Time Based Key-Value Store, Max Stack, Min Stack, Read N Characters Given read4 II, Rotting Oranges.

The round people do not prepare for is the practical one, variously described as a laptop interview or a programming exercise, where you build something small on your own machine with your own tools. Lyft also runs team matching as a separate step after the loop, so a strong result does not immediately mean an offer for a specific team.


Interview Process

Stage Duration Focus
Recruiter Screen 30 min Background, level, team interests
Technical Phone Screen 60 min 1-2 problems in a shared editor
Onsite: Coding 45-60 min One or two problems, medium bar
Onsite: Laptop Programming 60-75 min Practical build on your own machine
Onsite: System Design 60 min Real-time location, matching, pricing
Onsite: Behavioural 45 min Collaboration, ownership, past projects
Team Matching Varies Separate conversations after the loop

Loop size varies more at Lyft than at larger companies — reports range from four to five onsite rounds, and not every candidate gets the laptop round. Team matching happens after the technical decision, so budget time for it and treat those conversations as two-way: the team you land on determines how much of the real-time geo work you actually touch.


What Lyft Actually Tests

Lyft has a small reported question pool — 25 tagged problems (0 Easy, 19 Medium, 6 Hard). That is too few to break down by percentage, but it is useful information on its own: a narrow pool means the specific problems below carry real weight, and your odds of drawing one you have already solved are much better than at a company with a two-thousand-problem list.

Work through the whole list rather than sampling it, and lean on the process and design sections on this page for the rounds the question data cannot tell you about.


System Design (HLD) Problems Asked at Lyft

# Problem Difficulty Link
1 Ride Hailing (Uber / Lyft) Advanced Read →
2 Nearby Service (Driver Proximity Search) Intermediate Read →
3 Distributed Key-Value Store (Versioned Reads) Advanced Read →
4 Payment System (Fares and Payouts) Advanced Read →
5 Message Queue (Location Ping Ingest) Advanced Read →
6 Notification System (Trip Updates) Intermediate Read →
7 Rate Limiter Beginner Read →

LLD / Machine Coding Problems Asked at Lyft

The laptop round and the stateful problems on the tagged list point the same direction: write a small, correct, testable class with a clear API. Min Stack, Max Stack, and Time Based Key-Value Store are all in the top half of the list, and all three are LLD questions in coding clothing.

# Problem Difficulty Link
1 Ride Matching Intermediate Read →
2 Rate Limiter Intermediate Read →
3 Multilevel Cache Intermediate Read →
4 Task Scheduler Intermediate Read →

DSA Problems Asked at Lyft

25 problems across 10 pattern groups. Each group is allocated in proportion to its real share of Lyft’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 4 on the list.

# Problem Pattern Difficulty Link
1 Word Ladder II Bidirectional Search + Backtracking Hard LeetCode →
2 Longest Consecutive Sequence Union-Find Medium Solve →
3 Maximum Candies You Can Get from Boxes Graph + BFS Hard LeetCode →
4 Detonate the Maximum Bombs Geometry + Graph Medium LeetCode →

Sliding Window & Two Pointers

Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 4 on the list.

# Problem Pattern Difficulty Link
5 Minimum Window Substring Sliding Window Hard Solve →
6 String Compression Two Pointers Medium Solve →
7 Longest Substring Without Repeating Characters Sliding Window Medium Solve →
8 Sort List Merge Sort + Divide and Conquer Medium Solve →

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 4 on the list.

# Problem Pattern Difficulty Link
9 Rotting Oranges BFS Medium Solve →
10 Read N Characters Given read4 II - Call Multiple Times Interactive Hard LeetCode →
11 Coordinate With Maximum Network Quality Enumeration + Array Medium LeetCode →
12 Product of Array Except Self Prefix Sum Medium Solve →

Trees

Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 3 on the list.

# Problem Pattern Difficulty Link
13 Convert Sorted List to Binary Search Tree BST + Divide and Conquer Medium LeetCode →
14 Check Completeness of a Binary Tree Binary Tree + BFS Medium LeetCode →
15 Validate Binary Search Tree BST + Binary Tree Medium Solve →

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 3 on the list.

# Problem Pattern Difficulty Link
16 Time Based Key-Value Store Design + Binary Search Medium Solve →
17 Max Stack Doubly Linked List + Ordered Set Hard Solve →
18 Min Stack Design + Stack Medium Solve →

Heap / Priority Queue

Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 3 on the list.

# Problem Pattern Difficulty Link
19 Car Pooling Prefix Sum + Heap Medium Solve →
20 Smallest Range Covering Elements from K Lists Sliding Window + Heap Hard LeetCode →
21 Meeting Rooms II Prefix Sum + Heap Medium Solve →

Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. One on the list.

# Problem Pattern Difficulty Link
22 Implement Trie (Prefix Tree) Trie + Design Medium Solve →

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. One on the list.

# Problem Pattern Difficulty Link
23 Decode Ways DP Medium Solve →

Backtracking

Enumerate with pruning. Interviewers look for a clean choose, explore, unchoose loop and a real complexity bound. One on the list.

# Problem Pattern Difficulty Link
24 Letter Combinations of a Phone Number Backtracking Medium Solve →

Math & Bit Manipulation

Number theory, geometry, and bit tricks. Short to write, easy to get subtly wrong on overflow and sign. One on the list.

# Problem Pattern Difficulty Link
25 Water and Jug Problem Bézout’s Lemma + Extended Euclidean Algorithm Medium LeetCode →

Lyft’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Graphs Very High 4 (16%) Word Ladder II, Longest Consecutive Sequence, Maximum Candies You Can Get from Boxes
2 Sliding Window & Two Pointers High 4 (16%) Minimum Window Substring, String Compression, Longest Substring Without Repeating Characters
3 Arrays & Hashing High 4 (16%) Rotting Oranges, Read N Characters Given read4 II - Call Multiple Times, Coordinate With Maximum Network Quality
4 Trees Medium-High 3 (12%) Convert Sorted List to Binary Search Tree, Check Completeness of a Binary Tree, Validate Binary Search Tree
5 Design (Coding) Medium-High 3 (12%) Time Based Key-Value Store, Max Stack, Min Stack
6 Heap / Priority Queue Medium-High 3 (12%) Car Pooling, Smallest Range Covering Elements from K Lists, Meeting Rooms II
7 Tries & String Search Medium 1 (4%) Implement Trie (Prefix Tree)
8 Dynamic Programming Medium 1 (4%) Decode Ways
9 Backtracking Medium 1 (4%) Letter Combinations of a Phone Number
10 Math & Bit Manipulation Medium 1 (4%) Water and Jug Problem

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Graphs, Sliding Window & Two Pointers, Arrays & Hashing covers the bulk of what Lyft actually asks. The rest is insurance for the one round that goes somewhere unexpected.


Commonly Reported Problems Beyond the Tagged List

First, four problems from Lyft’s own reported list fall out of the tables above because their pattern groups were too small to render. On a list this short you should not skip them:

Beyond that, twenty-five problems is not much to prepare against. This table adds problems candidates commonly report from Lyft loops that are not in the tagged data, plus the classics in the patterns Lyft’s own list clearly favours. Treat it as pattern insurance rather than a prediction.

# Problem Pattern Why it fits Lyft Link
1 Number of Islands Grid BFS or DFS Same shape as Rotting Oranges, which tops their list Solve →
2 LRU Cache Design + Doubly Linked List The canonical stateful-class question; pairs with Min Stack and Max Stack Solve →
3 Design Hit Counter Design + Data Stream Request and ping counting over a sliding window Solve →
4 Design Underground System Design + Hash Table Trip start and end events with average durations, almost literally the domain LeetCode →
5 Moving Average from Data Stream Data Stream Rolling metrics over a ping stream Solve →
6 K Closest Points to Origin Heap + Geometry Nearest-driver selection in its simplest form LeetCode →
7 Insert Delete GetRandom O(1) Design Pool of available drivers with random selection LeetCode →
8 Random Pick with Weight Binary Search + Prefix Sum Weighted selection, the basis of most dispatch tie-breaking LeetCode →
9 My Calendar I Ordered Set + Intervals Overlap detection, same family as Meeting Rooms II on their list LeetCode →
10 Task Scheduler Greedy + Heap Scheduling with cooldown, adjacent to Car Pooling Solve →
11 Find Median from Data Stream Two Heaps Streaming percentile, the metrics problem in disguise Solve →
12 Course Schedule Topological Sort The one graph pattern their list under-samples but interviewers still reach for Solve →
13 Subarray Sum Equals K Prefix Sum + Hash Table Standard medium filler in phone screens Solve →
14 Asteroid Collision Stack Simulation with a stack, same muscle as Max Stack Solve →
15 Flatten Nested List Iterator Iterator + Design Iterator design, pairs with Read N Characters Given read4 II Solve →

Three patterns cover most of this: grid traversal, stateful class design, and intervals with a heap. If you are short on time, do those three and skip the rest.


The Laptop Programming Round

This round shows up in many Lyft loops and almost nobody practices for it. You work on your own machine, in your own editor, with internet access and your usual tooling, on a small practical task — parse something, build a small service or CLI, extend a given skeleton. It is closer to a two-hour take-home compressed into one hour than to a LeetCode problem.

What to do before the day:

  • Have a scratch project ready in your main language with the test runner wired up and verified. Do not discover your dependencies are stale during the interview.
  • Decide in advance how you will structure a small program: one file is fine, but separate the parsing, the logic, and the output.
  • Practice writing a test first and then the code. In a round where the environment can run code, a passing test is the strongest possible evidence.

What they are scoring: whether it works, whether you got there without flailing, whether you used your tools well, and whether you narrated the decisions. Searching documentation is expected and not a mark against you.


Behavioural Round

# Question
1 Tell me about a system you owned in production and what broke in it.
2 Tell me about a time you worked with a team that was not yours to get something shipped.
3 Tell me about a time you had to make a call with incomplete data.
4 Tell me about a trade-off you made between speed and correctness.
5 Tell me about feedback that changed how you work.
6 Tell me about a time you simplified something that had grown complicated.
7 What kind of team and problem space do you want next, and why Lyft?

Keep the stories short and concrete. Lyft’s behavioural round is less ritualised than Amazon’s or Atlassian’s, which means the interviewer is forming a general impression rather than scoring against a published rubric — clarity and honesty carry more weight than framework-perfect STAR delivery.


13-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Graphs Word Ladder II, Longest Consecutive Sequence, Maximum Candies You Can Get from Boxes
2 Sliding Window & Two Pointers Minimum Window Substring, String Compression, Longest Substring Without Repeating Characters
3 Arrays & Hashing Rotting Oranges, Read N Characters Given read4 II - Call Multiple Times, Coordinate With Maximum Network Quality
4 Trees Convert Sorted List to Binary Search Tree, Check Completeness of a Binary Tree, Validate Binary Search Tree
5 Design (Coding) Time Based Key-Value Store, Max Stack, Min Stack
6 Heap / Priority Queue Car Pooling, Smallest Range Covering Elements from K Lists, Meeting Rooms II
7 Tries & String Search Implement Trie (Prefix Tree)
8 Dynamic Programming Decode Ways
9 Backtracking Letter Combinations of a Phone Number
10 Math & Bit Manipulation Water and Jug Problem
11 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
12 Revision Redo the problems you failed or needed a hint on.
13 Light review + rest Re-read your pattern notes. Sleep early.

Tips for Lyft Interviews

  1. Finish the whole tagged list. It is twenty-five problems. There is no reason to walk in having skipped any of them, and the thin list is the best argument for completeness rather than sampling.
  2. Drill stateful data structures. Min Stack, Max Stack, and Time Based Key-Value Store are the shape of this list. Be able to state the complexity of every operation before you write the first line.
  3. Set your machine up before the laptop round. A project skeleton, a test runner you can invoke from memory, and a scratch file ready. Losing ten minutes to tooling in a practical round is an avoidable self-inflicted wound.
  4. Know the geo primitives for the design round. Geohash or S2 cells, a hot in-memory index for current driver positions, a separate durable store for trip history, and a pub-sub path for pushing updates to riders.
  5. Be ready for the write volume question. Location pings from every active driver is a high-write, low-value-per-write stream. Say out loud that you would not put it in the primary transactional database, and explain where it goes instead.
  6. Use Uber preparation, then trim it. The domain overlaps almost completely, so Uber design material transfers. The difference is scope: Lyft expects a focused, defensible design rather than the full multi-region treatment.
  7. Take team matching seriously. Prepare questions about what the team owns and its on-call load. This step decides your day-to-day far more than the level does.

Other Company Prep


Lyft publishes no official loop description, and the reported pool of tagged questions is small. The process above is assembled from community reports and varies by team and level. Confirm your rounds with your recruiter.