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

66 questions

  1. 49Find the longest palindromic subsequence using dynamic programming.MediumCoding· Adobe, Apple
  2. 50Implement LRU Cache.HardCoding· Accenture, Adobe
  3. 51Given 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. 52Design a notification system.HardSystem design· Goldman Sachs, OpenAI
  5. 53Tell me about yourself.MediumBehavioral· Accenture, ADP
  6. 54Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon
  7. 55What's your favorite product and why?MediumProduct· Accenture, Amazon
  8. 56Find Largest NumbersMediumCoding· Accenture, Goldman Sachs
  9. 57Given an array, find the two sum.EasyCoding· Adobe, Amazon
  10. 58How do you influence without authority?MediumBehavioral· American Express, Goldman Sachs
  11. 59Given 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
  12. 60Tell me about the most challenging situation you faced in your career and how you handled it.MediumBehavioral· Adobe, Amazon
  13. 61Tell me about your past projects.MediumBehavioral· Accenture, Amazon
  14. 62What is the project you are most proud of?MediumBehavioral· Adobe, Amazon
  15. 63Implement a queue using stacks.MediumCoding· Goldman Sachs
  16. 64Given the row and column, return the value at that position in Pascal's triangle.MediumCoding· Goldman Sachs
  17. 65Valid ParenthesesEasyCoding· Apple, Booking.com
  18. 66Is this a valid palindrome?EasyCoding· Adobe, Apple