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

129 questions

  1. 97Explain the sort function.EasyCoding· Apple
  2. 98What do you like most about being a Technical Program Manager?MediumBehavioral· Apple
  3. 99What's your favorite product and why?MediumProduct· Accenture, Amazon
  4. 100Find the palindromes.EasyCoding· Amazon, Apple
  5. 101Find peak element in an arrayEasyCoding· Apple
  6. 102Given an array, find the two sum.EasyCoding· Adobe, Amazon
  7. 103What are you passionate about?MediumBehavioral· Amazon, American Express
  8. 104Tell me about your greatest success.MediumBehavioral· Amazon, Apple
  9. 105Given 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. 106How do you prioritize tasks?MediumBehavioralProduct· Accenture, Adobe
  11. 107How would you improve Apple Music?MediumProduct· Apple
  12. 108Implement a doubly linked list.MediumCoding· Anduril, Apple
  13. 109Implement a red-black tree.HardCoding· Apple
  14. 110How would you improve Google Assistant?MediumProduct· Apple, Google
  15. 111What is one feature in your phone that you would improve?MediumProduct· Apple
  16. 112Determine the latency for a hashmap with given data.MediumCoding· Apple
  17. 113Tell me about a time you led a cross-functional team.MediumBehavioral· Anthropic, Apple
  18. 114What are you looking for in your next opportunity?MediumBehavioral· Amazon, Apple
  19. 115Tell me about your past projects.MediumBehavioral· Accenture, Amazon
  20. 116Write a function to return all prime numbers up to a given number n.MediumCoding· Adobe, Apple
  21. 117How do you prioritize competing features?MediumBehavioralProduct· Apple, eBay
  22. 118Why do you want to switch jobs now?MediumBehavioral· Apple, Citi
  23. 119Reverse a SentenceEasyCoding· Adobe, Apple
  24. 120Reverse a linked list.EasyCoding· Adobe, Apple