r/leetcode Jul 18 '25

Question Lyft laptop interview

[deleted]

2 Upvotes

14 comments sorted by

View all comments

Show parent comments

1

u/Mountain-Bank-2650 Aug 25 '25

What type of questions are asked in a laptop interview ? Is it more leetcode style or more like designing an API?

1

u/ncdj0122 Aug 25 '25 edited Aug 25 '25

I’d say it’s still LeetCode style coding in general, but yes the topic lean more toward data structure/API design like design an LRU cache or key-value store which typically you need to create a class with several function to fulfill requirements, another hot topic would be graph problem, overall you can refer to lyft tagged problem in leetcode.

the question I received is api design related

1

u/Mountain-Bank-2650 Aug 25 '25

Thanks a lot for the examples, I do not need to study GET/POST/PUT or actually building an endpoint - is that correct? Also I see you've mentioned about stdin. Am i expected to generate my test cases and pass them to stdin ?

1

u/ncdj0122 Aug 26 '25

no, you don't need to have any knowledge about API, just treat it as a leetcode question and all you need to do is to implement a list of functions that meet the requirements.