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

1,063 questions

  1. 313Count of Matches in TournamentEasyCoding· NNielsen
  2. 314Count of subarrays forming an APCoding· FactSet Research Systems Inc.
  3. 315Count Strictly Increasing SubarraysCoding· Ebay
  4. 316Count Sub IslandsCoding· Freshwoks
  5. 317Count Subarrays Where Max Element Appears at Least K TimesMediumCoding· Meta
  6. 318Count Subarrays With Fixed BoundsHardCoding· Uber
  7. 319Count Submatrices With Equal Frequency of X and YMediumCoding· Goldman Sachs
  8. 320Count the number of distinct palindromic substrings in a stringCoding· Morgan Stanley
  9. 321Count the Number of Infection SequencesHardCoding· PhonePe
  10. 322Count the Number of K Big IndicesCoding· Amazon
  11. 323Count Ways to Distribute CandiesCoding· Microsoft
  12. 324Course Schedule IVMediumCoding· Groww
  13. 325Cousins in Binary Tree IIMediumCoding· Amazon
  14. 326Create an N array tree and add values and traversalCoding· Nutanix
  15. 327Creation BookManager ClassCoding· Google
  16. 328Custom Tree SumCoding· JTJosh Technology Group
  17. 329Cutting RibbonsCoding· Expedia, Google
  18. 330Cycle Length Queries in a TreeHardCoding· Microsoft
  19. 331Cycle Length Queries in a TreeCoding· Media.net
  20. 332Cyclic sortCoding· Google
  21. 333Daily TemperaturesMediumCoding· Amazon, BitGo
  22. 334Deadlock Detection in a Code SnippetCoding· Arista Networks
  23. 335Debounce vs. Throttle in JavaScriptCoding· Cisco Meraki
  24. 336Debug a multithreaded code where race conditions were occurring in shared stateCoding· Boston Consulting Group