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
FiltersDifficulty, topic, company

4,310 questions

  1. 649Count Submatrices With Equal Frequency of X and YMediumCoding· Goldman Sachs
  2. 650Count the number of distinct palindromic substrings in a stringCoding· Morgan Stanley
  3. 651Count the Number of Infection SequencesHardCoding· PhonePe
  4. 652Count the Number of K Big IndicesCoding· Amazon
  5. 653Count Ways to Distribute CandiesCoding· Microsoft
  6. 654Course Schedule IVMediumCoding· Groww
  7. 655Cousins in Binary Tree IIMediumCoding· Amazon
  8. 656Create an N array tree and add values and traversalCoding· Nutanix
  9. 657Creation BookManager ClassCoding· Google
  10. 658Custom Tree SumCoding· JTJosh Technology Group
  11. 659Cutting RibbonsCoding· Expedia, Google
  12. 660Cycle Length Queries in a TreeHardCoding· Microsoft
  13. 661Cycle Length Queries in a TreeCoding· Media.net
  14. 662Cyclic sortCoding· Google
  15. 663Daily TemperaturesMediumCoding· Amazon, BitGo
  16. 664Deadlock Detection in a Code SnippetCoding· Arista Networks
  17. 665Debounce vs. Throttle in JavaScriptCoding· Cisco Meraki
  18. 666Debug a multithreaded code where race conditions were occurring in shared stateCoding· Boston Consulting Group
  19. 667Decode StringsCoding· Google
  20. 668Decode WaysMediumCoding· UrbanCompany
  21. 669Decode Ways iiCoding· Amazon
  22. 670Delete Node in a Linked List O(1)Coding· Amazon
  23. 671Deleting a Node from BST with Two ChildrenCoding· Zomato
  24. 672Design a Min Stack with O(1) getMinCoding· Boston Consulting Group