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. 481Kth Smallest Element in a Sorted MatrixMediumCoding· Adobe
  2. 482Kth Smallest Element in an ArrayCoding· Intuit, Microsoft
  3. 483Largest NumberMediumCoding· Microsoft
  4. 484Largest Odd Number in a StringCoding· HHashedIn
  5. 485Largest Submatrix With RearrangementsMediumCoding· Amazon
  6. 486Largest subtree sum for each vertex of given N-ary TreeCoding· PhonePe
  7. 487Left View of a Binary TreeCoding· PhonePe
  8. 488Level Node CountCoding· Adobe
  9. 489Lexicographically largest sub-sequence of the given stringCoding· Amazon
  10. 490Linked ListCoding· J.P. Morgan
  11. 491Linked ListCoding· Infosys
  12. 492Linked List CycleEasyCoding· CCognitree
  13. 493Linked List Cycle IIMediumCoding· ServiceNow
  14. 494Linked list implementationCoding· UKG
  15. 495Linked List ReversalCoding· ServiceNow
  16. 496Linked List ScoringCoding· JTJosh Technology Group
  17. 497LinkedlistCoding· Ciena
  18. 498LLD: Design a parking lot system with multiple floors and real-time availability trackingCoding· Boston Consulting Group
  19. 499Longest Consecutive SequenceMediumCoding· Amazon, Microsoft
  20. 500Longest Cycle in a GraphHardCoding· Goldman Sachs
  21. 501Longest Increasing Subsequence Using Dynamic ProgrammingCoding· McKinsey & Company
  22. 502Longest Palindromic SubstringMediumCoding· AutoDesk
  23. 503Longest path in an undirected graphCoding· Google
  24. 504Longest Subarray with Sum ≤ KCoding· Salesforce