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

81 questions

  1. 73Given an array of integers, return the pairs with the minimum absolute difference between them.MediumCoding· Microsoft
  2. 74Given an integer, reverse it. Integers are within range [-2^15, 2^15 - 1].MediumCoding· Microsoft
  3. 75Construct a binary tree given its preorder and inorder traversals.MediumCoding· Adobe, Amazon
  4. 76Design LFU cache.MediumCodingSystem design· Microsoft
  5. 77Explain multithreading.MediumCoding· Microsoft, Nvidia
  6. 78Find the number of rotations in a circularly sorted array.MediumCoding· AMD, Microsoft
  7. 79Implement a function to justify a list of words within a given width.MediumCoding· Google, Microsoft
  8. 80Reverse a SentenceEasyCoding· Adobe, Apple
  9. 81Write SQL code to publish the Fibonacci series.MediumCodingData· Google, Microsoft