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

19 questions

  1. 1Linked List CycleEasyCoding· CCognitree
  2. 2What's your favorite non-tech product that you use frequently?EasyProduct· Apple
  3. 3Find the DuplicatesEasyCoding· Adobe, Apple
  4. 4Move all zeros to the end of an array.EasyCoding· Adobe, Amazon
  5. 5Sort a binary array in linear time.EasyCoding· Accenture, Apple
  6. 6Calculate the height of a binary tree.EasyCoding· Apple, Google
  7. 7Tell me about your current role.EasyBehavioral· Airbnb, American Express
  8. 8Explain what an API is for a five-year-old.EasyTechnical· Apple, Google
  9. 9How would you explain machine learning to your grandmother?EasyTechnical· Apple, Google
  10. 10Explain the map function.EasyCoding· Apple
  11. 11Explain the sort function.EasyCoding· Apple
  12. 12Find the palindromes.EasyCoding· Amazon, Apple
  13. 13Find peak element in an arrayEasyCoding· Apple
  14. 14Given an array, find the two sum.EasyCoding· Adobe, Amazon
  15. 15Reverse a SentenceEasyCoding· Adobe, Apple
  16. 16Reverse a linked list.EasyCoding· Adobe, Apple
  17. 17Tell me about your last job.EasyBehavioral· Apple, Google
  18. 18Valid ParenthesesEasyCoding· Apple, Booking.com
  19. 19Is this a valid palindrome?EasyCoding· Adobe, Apple