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

32 questions

  1. 25Determine if two sentences are similar.MediumCodingTechnical· Google
  2. 26Edit distanceHardCoding· Adobe, Amazon
  3. 27Fibonacci NumbersEasyCoding· Adobe, Google
  4. 28Given two strings of equal length, determine if it's possible to form a palindrome by cutting them in half.EasyCoding· Google
  5. 29Implement a function to justify a list of words within a given width.MediumCoding· Google, Microsoft
  6. 30Given positions of N kids and M ice cream sellers on a 1D line, find the smallest distance E such that every kid lies within the range [P - E, P + E] of at least one seller.MediumCoding· Google
  7. 31Reverse a SentenceEasyCoding· Adobe, Apple
  8. 32Reverse a linked list.EasyCoding· Adobe, Apple