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

33 questions

  1. 25Build a CalculatorMediumCoding· Adobe, Apple
  2. 26Given a string, return the number of vowel substrings ('a', 'e', 'i', 'o', 'u') that include all five vowels.MediumCoding· Oracle
  3. 27Determine if a given binary tree is a binary search tree (BST).MediumCoding· Adobe, Google
  4. 28Fibonacci NumbersEasyCoding· Adobe, Google
  5. 29Given an array, find the two sum.EasyCoding· Adobe, Amazon
  6. 30Given a list of jobs and a list of dependencies where each job depends on another job being completed first, determine if it is possible to complete all jobs.MediumCoding· Oracle
  7. 31Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding· Adobe, Amazon
  8. 32Valid ParenthesesEasyCoding· Apple, Booking.com
  9. 33Is this a valid palindrome?EasyCoding· Adobe, Apple