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
10 questionsFree0Locked10
- Find the length of the longest substring without repeating characters.
[Sliding Window]IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Amazon+1 - Given course prerequisites, determine whether all courses can be finished.
[Topological Sort]AdvancedDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Swiggy - Given a collection of intervals, merge all overlapping intervals.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Amazon+3
- Given n non-negative bar heights, compute how much rainwater can be trapped between them (Trapping Rain Water).AdvancedDsa· coding₹499 (Pro plan required)Reported frequent at Flipkart+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 an autocomplete / prefix-search feature using a Trie: insert words and, given a prefix, return all words with that prefix.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Swiggy
- Meta OA: Which data structure most naturally implements an LRU (Least Recently Used) cache with O(1) get and put?IntermediateDsa· multiple choice₹99 (Interview Prep or Pro plan required)
- You must repeatedly extract the delivery partner with the minimum estimated arrival time (ETA) from a set whose ETAs keep changing. Which data structure best supports repeated extract-min with priority updates, and how do you handle the updates?IntermediateDsa· multiple choice₹99 (Interview Prep or Pro plan required)
- For each element of an array, find the next greater element to its right (or -1 if none).BeginnerDsa· coding₹99 (Interview Prep or Pro plan required)
- How many structurally unique binary search trees can be built with the values 1 to N?IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)