Question bank
4,310 interview questions, answered.
Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.
Easy 190Medium 2,498Hard 982
Filters · onDifficulty, topic, company
32 questions
- 1Merge IntervalsMediumCoding·
Blinkit, Docquity Holdings(PBS) - 2Top k frequent elementsMediumCoding·
Amazon, Apple - 3Container With Most WaterMediumCoding·
Oracle, Paytm - 4Group anagramsMediumCoding·
Blinkit, MakeMyTrip - 5Maximum SubarrayMediumCoding·
Blinkit, Oracle - 6Merge In Between Linked ListsMediumCoding·
Oracle - 7Product of Array Except SelfMediumCoding·
PayPal, Target - 8Course ScheduleMediumCoding·
Zoho - 901 Matrix: find the nearest zero for every cellMediumCoding·
Adobe, Oracle - 10Print all combinations of numbers from 1 to n that sum to n.MediumCoding·
Adobe, Apple - 11Find a triplet in an array with a given sum.MediumCoding·
Adobe, Goldman Sachs - 12Generate ParenthesesMediumCoding·
Adobe, Google - 13Implement TrieMediumCoding·
Apple, Goldman Sachs - 14Find the longest palindromic subsequence using dynamic programming.MediumCoding·
Adobe, Apple - 15Find the lowest common ancestor (LCA) of two nodes in a binary tree.MediumCoding·
Apple, LinkedIn - 16Find the maximum subarray sum.MediumCoding·
Adobe, Apple - 17Find the minimum window substring.MediumCoding·
Airbnb, Dropbox - 18Print the left view of a binary tree.Medium·
Amazon, Meta - 19Vertical Traversal of a Binary TreeMediumCoding·
Meta, Oracle - 20How would you sort a bitonic array efficiently?MediumCoding·
Oracle - 21Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 22Build a CalculatorMediumCoding·
Adobe, Apple - 23Given a string, return the number of vowel substrings ('a', 'e', 'i', 'o', 'u') that include all five vowels.MediumCoding·
Oracle - 24Design browser history.MediumSystem design·
Oracle, TikTok