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

13 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. 6Hard: Maximum score of a path in a grid with dynamic constraintsCoding· Boston Consulting Group
  7. 7Implement a Trie and support prefix search + deleteCoding· Boston Consulting Group
  8. 8LLD: Design a parking lot system with multiple floors and real-time availability trackingCoding· Boston Consulting Group
  9. 9Medium: Clone a linked list with random pointersCoding· Boston Consulting Group
  10. 10Medium: Subarray with a given XORCoding· Boston Consulting Group
  11. 11Optimize a sliding window problem using dequeCoding· Boston Consulting Group
  12. 12Print vertical order traversal of a binary treeCoding· Boston Consulting Group
  13. 13Protective routesCoding· Boston Consulting Group