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

41 questions

  1. 25How is object-oriented programming (OOP) different from procedural programming?MediumTechnical· Visa
  2. 26Given 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
  3. 27Tell me about yourself.MediumBehavioral· Accenture, ADP
  4. 28Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon
  5. 29Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding· Adobe, Apple
  6. 30Given an array of points on a plane (x,y), write a function to return the distance between the closest pair of points.HardCoding· Visa
  7. 31What types of team members do you find difficult to work with?MediumBehavioral· Visa
  8. 32Find the number of rotations in a circularly sorted array.MediumCoding· AMD, Microsoft
  9. 33Given an array, find the two sum.EasyCoding· Adobe, Amazon
  10. 34Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding· Adobe, Amazon
  11. 35Tell me about your past projects.MediumBehavioral· Accenture, Amazon
  12. 36As a PM, what actions did you take after releasing a product?MediumDataProduct· Visa
  13. 37Reverse a SentenceEasyCoding· Adobe, Apple
  14. 38Tell me about your last job.EasyBehavioral· Apple, Google
  15. 39Tell me about a time when you led a project from start to finish.MediumBehavioral· Accenture, Amazon
  16. 40Why do you think we should not hire you?MediumBehavioral· Google, Visa
  17. 41Why do you want to work at Visa?MediumBehavioral· Visa