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

  1. 49Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon
  2. 50Find Largest NumbersMediumCoding· Accenture, Goldman Sachs
  3. 51Given an array, find the two sum.EasyCoding· Adobe, Amazon
  4. 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
  5. 53Implement a queue using stacks.MediumCoding· Goldman Sachs
  6. 54Given the row and column, return the value at that position in Pascal's triangle.MediumCoding· Goldman Sachs
  7. 55Valid ParenthesesEasyCoding· Apple, Booking.com
  8. 56Is this a valid palindrome?EasyCoding· Adobe, Apple