Lyft logo

Lyft Interview Questions

8 practice questions for Lyft technical interviews

coding Hard Verified

Restaurant Delivery Network


Category: String coding problem
You are building a food discovery platform. Given a user's location, a list of restaurants with their coordinates, and a menu of items with prices,...
Input: List
Output: Computed result
coding Medium Verified

Worker Task Scheduler


Category: String coding problem
You are given a list of tasks sorted by start time. Each task is represented as a three-element list [task_id, start_time, duration], where...
Input: List
Output: Array
coding Medium Verified

Paged Data Reader


Category: Trie-based coding problem
You have an external data source that serves records in fixed pages. The data source is represented as a list of pages, where each page is a list of...
Input: Array of strings
Output: Computed result
coding Medium Verified

Multi-Source Reader


Category: String coding problem
Implement a MultiSource class that manages a collection of character sources. Each source is a string of characters. You can add and remove sources...
Input: String
Output: Printed output
coding Hard Verified

Transactional Cache


Category: String coding problem
Implement an in-memory key-value cache that supports nested transactions. The cache stores string keys mapped to string values and provides the...
Input: String
Output: Computed result
coding Hard Verified

Probe Collision Simulator


Category: Algorithm coding problem
A set of probes is arranged in a line from left to right. Each probe has a mass and a velocity. A positive velocity means the probe moves to the...
Input: List
Output: Computed result
coding Medium Verified

Range Coverage Tracker


Category: Interval-based coding problem
You are painting a road of total length n. Each paint stroke starting at position x covers the segment [x, x + 1]. Implement a RangeTracker...
Input: Given input
Output: Computed result
coding Hard Verified

Log Query Engine


Category: String coding problem
You are given a collection of log records. Each record is a five-element list of strings: [time, id, user, type, value], where time and value...
Input: Array of strings
Output: Computed result

No AI generated questions yet for Lyft.

Start practicing Lyft questions

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

Get Started Free