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
13 questionsFree1Locked12
- Return an array where each element is the product of all others without using division (Product of Array Except Self).
[Prefix Sum]IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Google - Given meeting time intervals, find the minimum number of conference rooms required (Meeting Rooms II).IntermediateDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Google
- 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 an m x n integer matrix, return the length of the longest strictly increasing path (moves are 4-directional).AdvancedDsa· coding₹499 (Pro plan required)Reported frequent at Google
- Given two strings word1 and word2, return the minimum number of insert, delete, or replace operations to convert word1 into word2 (Edit Distance).AdvancedDsa· coding₹99 (Interview Prep or Pro plan required)Reported frequent at Google
- 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 a board of characters and a list of words, return all words that can be formed by sequentially adjacent cells (Word Search II).AdvancedDsa· coding₹499 (Pro plan required)Reported frequent at Databricks+2
- Google OA: You are given a sorted array of distinct integers that has been rotated at an unknown pivot. What is the optimal worst-case time to search for a target value? (What changes if the array may contain duplicates?)IntermediateDsa· multiple choice₹99 (Interview Prep or Pro plan required)
- Google OA: A hash table uses separate chaining. With n keys and m buckets under simple uniform hashing, what is the expected time of a successful search?AdvancedDsa· multiple choice₹99 (Interview Prep or Pro plan required)
- Google OA: For counting the number of distinct substrings of a string, or for fast substring queries, which data structure is most appropriate?AdvancedDsa· multiple choice₹499 (Pro plan required)
- Given a sorted array and a target, return all unique pairs of values that add up to the target, in ascending order.BeginnerDsa· codingFree
- Design a rope data structure for very long strings that supports concatenation, character at an index, and substring extraction efficiently, and explain how it is balanced.AdvancedDsa· coding₹499 (Pro plan required)
- A stream of stock prices arrives as (timestamp, price), and an earlier timestamp can later be corrected. Support update, current price, maximum and minimum efficiently.AdvancedDsa· coding₹99 (Interview Prep or Pro plan required)