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
9 questionsFree2Locked7
- Reverse a singly linked list, iteratively and recursively.BeginnerDsa· codingFreeReported frequent at Microsoft
- Validate whether a binary tree is a valid binary search tree.
[DFS]IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Microsoft - 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 an input string, reverse the order of the words (Reverse Words in a String).BeginnerDsa· codingFreeReported frequent at Microsoft
- 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 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 an algorithm to serialize a binary tree to a string and deserialize it back.AdvancedDsa· coding₹499 (Pro plan required)Reported frequent at Microsoft
- Find the lowest common ancestor (LCA) of two given nodes in a binary tree.IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Flipkart+2
- 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