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
70 questions
- 25Valid AnagramCoding·
Adobe - 2601 Matrix: find the nearest zero for every cellMediumCoding·
Adobe, Oracle - 27Given the root of a binary tree of integers, return the maximum path sum.MediumCoding·
Adobe, Apple - 28Build a Basic Regex ParserHardCoding·
Adobe, Apple - 29Print all combinations of numbers from 1 to n that sum to n.MediumCoding·
Adobe, Apple - 30Cycle Detection in Package Manager.MediumCoding·
Adobe - 31Design a typeahead box for a search engine.HardSystem design·
Adobe, Amazon - 32Explain how to find a target sum in an array.MediumCoding·
Adobe, Google - 33Find the DuplicatesEasyCoding·
Adobe, Apple - 34Find a triplet in an array with a given sum.MediumCoding·
Adobe, Goldman Sachs - 35Generate ParenthesesMediumCoding·
Adobe, Google - 36Given n houses in a line with money in each, find the maximum amount a robber can steal, without stealing from two adjacent houses.MediumCoding·
Adobe, Apple - 37How would you improve retention for the Adobe Mobile Scan app?HardProduct·
Adobe - 38How would you improve Google Maps?MediumProduct·
Adobe, Google - 39What are the key metrics you track for the product you currently manage?MediumDataProduct·
Adobe, PayPal - 40PermutationsMediumCoding·
Adobe, Apple - 41Find the longest palindromic subsequence using dynamic programming.MediumCoding·
Adobe, Apple - 42Implement LRU Cache.HardCoding·
Accenture, Adobe - 43Find the maximum subarray sum.MediumCoding·
Adobe, Apple - 44You're a PM at Instagram responsible for building the Reels feature. How would you define and measure its success?MediumData·
Adobe - 45Merge k sorted linked lists.HardCoding·
Adobe, Apple - 46Move all zeros to the end of an array.EasyCoding·
Adobe, Amazon - 47How would you reduce cancellations on Uber?MediumDataProduct·
Adobe, Uber - 48Given 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