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
74 questions
- 49Find the maximum subarray sum.MediumCoding·
Adobe, Apple - 50Merge k sorted linked lists.HardCoding·
Adobe, Apple - 51Find the minimum window substring.MediumCoding·
Airbnb, Dropbox - 52Print the left view of a binary tree.Medium·
Amazon, Meta - 53Given 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 - 54Tell me about a time when you solved a complex problem and how you went about it.HardBehavioral·
Amazon, Atlassian - 55Calculate the trapped rainwater between bars in a given array.HardCoding·
Adobe, Amazon - 56Vertical Traversal of a Binary TreeMediumCoding·
Meta, Oracle - 57How would you sort a bitonic array efficiently?MediumCoding·
Oracle - 58Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 59Build a CalculatorMediumCoding·
Adobe, Apple - 60Given a string, return the number of vowel substrings ('a', 'e', 'i', 'o', 'u') that include all five vowels.MediumCoding·
Oracle - 61Design browser history.MediumSystem design·
Oracle, TikTok - 62Determine if a given binary tree is a binary search tree (BST).MediumCoding·
Adobe, Google - 63Fibonacci NumbersEasyCoding·
Adobe, Google - 64Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 65Tell me about a time when you made a mistake and how you handled it.MediumBehavioral·
Amazon, Oracle - 66Given 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 - 67How have you managed risk in a project?MediumBehavioralProduct·
Amazon, Google - 68Tell me about the most challenging situation you faced in your career and how you handled it.MediumBehavioral·
Adobe, Amazon - 69Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding·
Adobe, Amazon - 70What is the project you are most proud of?MediumBehavioral·
Adobe, Amazon - 71Why do you want to switch jobs now?MediumBehavioral·
Apple, Citi - 72Total Outfit CombinationsEasyCoding·
Oracle