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
63 questions
- 49Find the minimum window substring.MediumCoding·
Airbnb, Dropbox - 50Given an integer array nums and an integer k, return true if nums has a subarray of at least two elements whose sum is a multiple of k.HardCoding·
Adobe, Apple - 51Calculate the trapped rainwater between bars in a given array.HardCoding·
Adobe, Amazon - 52How would you sort a bitonic array efficiently?MediumCoding·
Oracle - 53Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 54Build a CalculatorMediumCoding·
Adobe, Apple - 55Given a string, return the number of vowel substrings ('a', 'e', 'i', 'o', 'u') that include all five vowels.MediumCoding·
Oracle - 56Determine if a given binary tree is a binary search tree (BST).MediumCoding·
Adobe, Google - 57Fibonacci NumbersEasyCoding·
Adobe, Google - 58Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 59Given a list of jobs and a list of dependencies where each job depends on another job being completed first, determine if it is possible to complete all jobs.MediumCoding·
Oracle - 60Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding·
Adobe, Amazon - 61Total Outfit CombinationsEasyCoding·
Oracle - 62Valid ParenthesesEasyCoding·
Apple, Booking.com - 63Is this a valid palindrome?EasyCoding·
Adobe, Apple