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
11 questionsFree2Locked9
- Find the k-th largest element in an unsorted array.
[Heap]IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Apple+1 - 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
- Implement atoi: convert a string to a 32-bit signed integer, handling whitespace, sign, and overflow (String to Integer).IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Apple+1
- Given the root of a binary tree, return its vertical order traversal (LeetCode 987): group nodes by column from left to right, and within a column order nodes by row from top to bottom, breaking ties of the same row and column by smaller value first.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Apple+1
- Design and implement an API rate limiter that allows at most N requests per client per time window. Compare fixed window, sliding window log and token bucket, and explain how to make it work across many servers.AdvancedDsa· system design₹499 (Pro plan required)Reported frequent at Apple+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
- Apple OA: A function uses recursion with depth proportional to n and constant local variables per call. What is its space complexity due to the call stack?IntermediateDsa· multiple choiceFree
- Apple OA: What does the bitwise operation (x & (x - 1)) compute for a positive integer x?AdvancedDsa· multiple choice₹99 (Interview Prep or Pro plan required)
- Apple OA: Which statement about a hash set lookup versus a balanced BST lookup is correct?IntermediateDsa· multiple choice₹99 (Interview Prep or Pro plan required)
- Which sorting algorithm is stable and guarantees O(n log n) time in the worst case?IntermediateDsa· multiple choiceFree