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

28 questions

  1. 1Climbing StairsEasyCoding· Media.net
  2. 2Merge Strings AlternatelyEasyCoding· Google
  3. 3Richest Customer WealthEasyCoding· Google
  4. 4Maximum ProfitEasyCoding· Google
  5. 5Sort a binary array in linear time.EasyCoding· Accenture, Apple
  6. 6Calculate the height of a binary tree.EasyCoding· Apple, Google
  7. 7Count the number of ways to split a string.EasyCoding· Google
  8. 8Degrees of FriendshipEasyCoding· Google
  9. 9Tell me about a time when you dealt with a difficult person at work.EasyBehavioral· Amazon, Anthropic
  10. 10Explain what an API is for a five-year-old.EasyTechnical· Apple, Google
  11. 11How would you explain cloud computing to your grandmother?EasyTechnical· Google, Google Cloud (GCP)
  12. 12How would you explain computer vision to your grandmother?EasyTechnical· Google
  13. 13How would you explain machine learning to a five-year-old?EasyBehavioral· Google
  14. 14How would you explain machine learning to your grandmother?EasyTechnical· Apple, Google
  15. 15What is your favorite brand and why?EasyBehavioral· Google
  16. 16What is your favorite app on your phone?Easy· Google
  17. 17Fibonacci NumbersEasyCoding· Adobe, Google
  18. 18If you could float on water, like a boat, what would you be and why?EasyBehavioral· Google
  19. 19Given two strings of equal length, determine if it's possible to form a palindrome by cutting them in half.EasyCoding· Google
  20. 20How did you hear about this position?EasyBehavioral· Google
  21. 21List three products you like and three you dislike.EasyProduct· Google
  22. 22Name a product that falls short of a company's promise.EasyProduct· Google
  23. 23Reverse a SentenceEasyCoding· Adobe, Apple
  24. 24Reverse a linked list.EasyCoding· Adobe, Apple