Lyft Coding Interview Questions
32 Lyft coding interview problems with full optimal solutions — 20 easy, 10 medium, 2 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Lyft interviewer values, and a FAQ section.
Showing 20 problems of 32
- #1easyfoundational
1. Two Sum
Find two indices in an array whose values sum to a target.
- #2easyfoundational
2. Valid Parentheses
Validate that bracket characters in a string close in the right order.
- #3easyfoundational
3. Merge Two Sorted Lists
Combine two sorted singly-linked lists into one sorted list.
- #4easyfoundational
4. Remove Duplicates from Sorted Array
Remove duplicates from a sorted array in-place and return the new length.
- #5easyfoundational
5. Remove Element
Strip all instances of a value from an array in-place.
- #6easyfoundational
6. Search Insert Position
Find the index where target would be inserted into a sorted array.
- #7easyfoundational
7. Plus One
Add one to a number represented as a digit array.
- #8easyfoundational
8. Merge Sorted Array
Merge two sorted integer arrays in-place into the first one.
- #9easyfoundational
9. Binary Tree Inorder Traversal
Return the inorder traversal of a binary tree.
- #10easyfoundational
10. Same Tree
Check whether two binary trees are structurally identical with the same values.
- #11easyfoundational
11. Symmetric Tree
Determine whether a binary tree is a mirror of itself.
- #12easyfoundational
12. Maximum Depth of Binary Tree
Compute the maximum depth of a binary tree.
- #13easyfoundational
13. Balanced Binary Tree
Determine if a binary tree is height-balanced.
- #14easyfoundational
14. Minimum Depth of Binary Tree
Find the minimum depth of a binary tree.
- #15easyfoundational
15. Pascal's Triangle
Generate the first numRows of Pascal's triangle.
- #16easyfoundational
16. Best Time to Buy and Sell Stock
Find the maximum single-buy single-sell profit from a price array.
- #17easyfoundational
17. Valid Palindrome
Check whether a string is a palindrome considering only alphanumeric characters.
- #18easyfoundational
18. Single Number
Find the element that appears once when every other element appears twice.
- #19easyfoundational
19. Linked List Cycle
Detect whether a singly-linked list contains a cycle.
- #20easyfoundational
20. Min Stack
Design a stack that supports getMin in constant time.
Related interview-prep guides
CoderPad Live Coding Interview Guide (2026): What the Pad Tracks and How to Walk Through It Cleanly
CoderPad is the default live-coding environment for human-led technical interviews in 2026. Used by YC startups, FAANG-tier teams, and most of the tech mid-market. The pad records every keystroke, every paste event, every language switch, and offers an interviewer scrub-back feature most candidates never realize exists. This is what CoderPad tracks, how the live session compares to async assessments, and how a modern desktop AI setup pairs with it without showing up in the screen-share.
CoderPad Alternatives in 2026: 6 Tools Compared (Live Coding Platforms + Candidate Help)
CoderPad is the live-coding interview platform that recruiters and hiring managers use to run human-led technical rounds in 2026. Most people searching for CoderPad alternatives are doing one of two things: an employer shopping for a different platform to run interviews on, or a candidate looking for help DURING a CoderPad round they have coming up. This guide covers both. Six tools compared honestly, with InterviewChamp positioned as the candidate-side helper that works during any live coding platform, not just CoderPad.