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

16 questions

  1. 1Debug a multithreaded code where race conditions were occurring in shared stateCoding· Boston Consulting Group
  2. 2Design a Min Stack with O(1) getMinCoding· Boston Consulting Group
  3. 3DSA: Find the longest substring with at most 2 distinct charactersCoding· Boston Consulting Group
  4. 4DSA: Implement a scheduler that executes jobs with dependency constraintsCoding· Boston Consulting Group
  5. 5Easy: Check if a string is a palindrome after removing one characterCoding· Boston Consulting Group
  6. 6Explain a time when your design was challenged in a code review.Technical· Boston Consulting Group
  7. 7Hard: Maximum score of a path in a grid with dynamic constraintsCoding· Boston Consulting Group
  8. 8How do you plan tech debt and feature delivery together?Technical· Boston Consulting Group
  9. 9How would you scale your past project to handle 10x traffic?Technical· Boston Consulting Group
  10. 10Implement a Trie and support prefix search + deleteCoding· Boston Consulting Group
  11. 11LLD: Design a parking lot system with multiple floors and real-time availability trackingCoding· Boston Consulting Group
  12. 12Medium: Clone a linked list with random pointersCoding· Boston Consulting Group
  13. 13Medium: Subarray with a given XORCoding· Boston Consulting Group
  14. 14Optimize a sliding window problem using dequeCoding· Boston Consulting Group
  15. 15Print vertical order traversal of a binary treeCoding· Boston Consulting Group
  16. 16Protective routesCoding· Boston Consulting Group