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

57 questions

  1. 49Determine if a given binary tree is a binary search tree (BST).MediumCoding· Adobe, Google
  2. 50Edit distanceHardCoding· Adobe, Amazon
  3. 51Fibonacci NumbersEasyCoding· Adobe, Google
  4. 52Given an array, find the two sum.EasyCoding· Adobe, Amazon
  5. 53Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding· Adobe, Amazon
  6. 54Write a function to return all prime numbers up to a given number n.MediumCoding· Adobe, Apple
  7. 55Reverse a SentenceEasyCoding· Adobe, Apple
  8. 56Reverse a linked list.EasyCoding· Adobe, Apple
  9. 57Is this a valid palindrome?EasyCoding· Adobe, Apple