Question Bank
Filter real, curated interview questions by topic, difficulty, and type. Open any question to practice and rate your confidence.
Filter by company and topic2 active
RecentMost viewed
7 questionsFree1Locked6
- Given a collection of intervals, merge all overlapping intervals.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Amazon+3
- Decode a string encoded as k[substring], where the substring is repeated k times, possibly nested (e.g. '3[a2[c]]' -> 'accaccacc').IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Google
- Given a reference to a node in a connected undirected graph, return a deep copy (clone) of the graph.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Microsoft+1
- Design and implement an LRU cache with O(1) get and put.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Apple+3
- Implement a Logger Rate Limiter: build a class with
shouldPrintMessage(timestamp, message)that returns true only if the message has NOT been printed in the last 10 seconds; otherwise return false.IntermediateDsa· codingFreeReported frequent at Uber - Implement an in-memory file system in Python that supports the shell commands mkdir, cd, ls and pwd, with absolute and relative paths and clear errors.AdvancedDsa· coding₹499 (Pro plan required)Reported frequent at Uber
- Cheapest Flights Within K Stops: given n cities, a list of flights [from, to, price], a source, a destination and an integer K, return the cheapest price from source to destination with at most K stops, or -1 if it is not possible.AdvancedDsa· coding₹499 (Pro plan required)Reported frequent at Airbnb+1