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

14 questions

  1. 1Linked List CycleEasyCoding· CCognitree
  2. 2Find the DuplicatesEasyCoding· Adobe, Apple
  3. 3Move all zeros to the end of an array.EasyCoding· Adobe, Amazon
  4. 4Sort a binary array in linear time.EasyCoding· Accenture, Apple
  5. 5Calculate the height of a binary tree.EasyCoding· Apple, Google
  6. 6Explain the map function.EasyCoding· Apple
  7. 7Explain the sort function.EasyCoding· Apple
  8. 8Find the palindromes.EasyCoding· Amazon, Apple
  9. 9Find peak element in an arrayEasyCoding· Apple
  10. 10Given an array, find the two sum.EasyCoding· Adobe, Amazon
  11. 11Reverse a SentenceEasyCoding· Adobe, Apple
  12. 12Reverse a linked list.EasyCoding· Adobe, Apple
  13. 13Valid ParenthesesEasyCoding· Apple, Booking.com
  14. 14Is this a valid palindrome?EasyCoding· Adobe, Apple