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
56 questions
- 49Calculate the trapped rainwater between bars in a given array.HardCoding·
Adobe, Amazon - 50Find Largest NumbersMediumCoding·
Accenture, Goldman Sachs - 51Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 52Given an array of n integers and a number k, find the maximum number of elements whose sum is less than k, and return their sum.MediumCoding·
Goldman Sachs - 53Implement a queue using stacks.MediumCoding·
Goldman Sachs - 54Given the row and column, return the value at that position in Pascal's triangle.MediumCoding·
Goldman Sachs - 55Valid ParenthesesEasyCoding·
Apple, Booking.com - 56Is this a valid palindrome?EasyCoding·
Adobe, Apple