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

65 questions

  1. 49Coin ChangeMediumCodingTechnical· Apple, Citi
  2. 50Edit distanceHardCoding· Adobe, Amazon
  3. 51Explain the filter function.MediumCoding· Apple
  4. 52Explain the map function.EasyCoding· Apple
  5. 53Explain the sort function.EasyCoding· Apple
  6. 54Find the palindromes.EasyCoding· Amazon, Apple
  7. 55Find peak element in an arrayEasyCoding· Apple
  8. 56Given an array, find the two sum.EasyCoding· Adobe, Amazon
  9. 57Given a string that doesn't fit into a machine's memory, split it at each space and count the number of spaces.MediumCoding· Apple
  10. 58Implement a doubly linked list.MediumCoding· Anduril, Apple
  11. 59Implement a red-black tree.HardCoding· Apple
  12. 60Write a function to return all prime numbers up to a given number n.MediumCoding· Adobe, Apple
  13. 61Reverse a SentenceEasyCoding· Adobe, Apple
  14. 62Reverse a linked list.EasyCoding· Adobe, Apple
  15. 63Set Matrix ZeroesMediumCoding· Apple
  16. 64Valid ParenthesesEasyCoding· Apple, Booking.com
  17. 65Is this a valid palindrome?EasyCoding· Adobe, Apple