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 5Medium 18Hard 5
Filters · onDifficulty, topic, company

5 questions

  1. 1Estimate the daily number of transactions in the US.HardProduct· Visa
  2. 2Implement LRU Cache.HardCoding· Accenture, Adobe
  3. 3Given 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
  4. 4Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon
  5. 5Given an array of points on a plane (x,y), write a function to return the distance between the closest pair of points.HardCoding· Visa