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 questionsFree2Locked5
- Given an array of integers and a target, return the indices of the two numbers that add up to the target (Two Sum).
[Hash Map]BeginnerDsa· codingFreeReported frequent at Amazon+1 - 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 - Determine whether a string of brackets
()[]{}is valid (properly balanced).[Stack]BeginnerDsa· codingFreeReported frequent at Amazon - Count the number of islands in a 2D grid of land and water.
[BFS/DFS]IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Amazon+2 - Given a collection of intervals, merge all overlapping intervals.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Amazon+3
- In a grid, cells are empty (0), fresh orange (1), or rotten (2). Each minute a rotten orange rots its 4-directional neighbours. Return the minimum minutes until no fresh orange remains, or -1 if impossible.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Amazon
- Design and implement an LRU (Least Recently Used) cache in Python with O(1) get and put.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Amazon