Software Engineer • Mid-Level
Software Engineer • Mid-Level
High QualityPractice Other Questions that Lyft Asked
Continue with targeted prep from Lyft's coding question bank and system design questions.
Interview Summary
The Lyft SDE II process started with a binary-tree-focused phone screen and continued with an onsite covering coding and system design. The phone round began with basic BST warm-up functions before moving into BST validation and two follow-ups, while the onsite coding round focused on an in-memory key-value store with nested transactions.
The system design round asked for a distributed system that could archive all of Wikipedia and continuously refresh it using one reliable coordinator, a large pool of unreliable workers, and persistent blob storage.
Interview Details
Technical Phone Screen — Validate and Reconstruct a BST The interview started with one or two basic BST warm-up exercises, such as constructing a binary search tree. The main problem was: Given a binary tree, determine whether it is a valid Binary Search Tree.
A valid BST must satisfy the ordering constraint across the entire subtree:
- Every value in a node's left subtree must be smaller than the node's value.
- Every value in the right subtree must be larger.
All values could be assumed to be unique. The interviewer then added two follow-ups:
- Implement BST validation iteratively rather than recursively.
- Given the preorder traversal of a BST, reconstruct the original tree.
Onsite Coding — In-Memory Key-Value Store with Nested Transactions
The onsite
Unlock Full Details
Create a free account to unlock this interview experience report.