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. 409Minimize Maximum Value in GridCoding· Goldman Sachs
  2. 410Minimum Adjacent Swaps to Make a Valid ArrayCoding· Meta
  3. 411Minimum days to make M bouquetsCoding· Amazon
  4. 412Minimum Flips In Binary Tree to Get ResultCoding· Informatica
  5. 413Minimum Knight MovesCoding· Walmart
  6. 414Minimum Moves to Get a Peaceful BoardCoding· Adobe
  7. 415Minimum Number of Lines to Cover PointsCoding· BharatPe
  8. 416Minimum number of platforms required for a railwayCoding· J.P. Morgan
  9. 417Minimum Path Cost In a Hidden GridCoding· Media.net
  10. 418Minimum Swaps to Group All 1’s TogetherCoding· Swiggy
  11. 419Minimum Travel CostCoding· Google
  12. 420Minimum Window SubsequenceCoding· Salesforce
  13. 421Minimum Window SubstringCoding· Goldman Sachs, Intuit
  14. 422Most Stones Removed with Same Row or ColumnMediumCoding· Myntra, Amazon
  15. 423N meetings in one roomCoding· FactSet Research Systems Inc.
  16. 424Next Greater Element - 2Coding· Freshwoks, Media.net
  17. 425Next Greater ElementCoding· GGeekyants, Morgan Stanley
  18. 426Next PermutationMediumCoding· Nvidia
  19. 427Number of Connected Components in an Undirected GraphCoding· Goldman Sachs, Microsoft
  20. 428Number of Distinct Binary Strings After Applying OperationsCoding· M2P Fintech
  21. 429Number of distinct islandsCoding· Kotak, Oracle
  22. 430Number of Equal Count SubstringsCoding· Expedia
  23. 431Number of islandsCoding· Amazon, Goldman Sachs
  24. 432Number of operations to make network connectedCoding· Visa