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. 817Largest NumberMediumCoding· Microsoft
  2. 818Largest Odd Number in a StringCoding· HHashedIn
  3. 819Largest Submatrix With RearrangementsMediumCoding· Amazon
  4. 820Largest subtree sum for each vertex of given N-ary TreeCoding· PhonePe
  5. 821Left View of a Binary TreeCoding· PhonePe
  6. 822Level Node CountCoding· Adobe
  7. 823Lexicographically largest sub-sequence of the given stringCoding· Amazon
  8. 824Link of Similar QuestionTechnical· EY, Sigmoid Analytics
  9. 825Linked ListCoding· J.P. Morgan
  10. 826Linked ListCoding· Infosys
  11. 827Linked List CycleEasyCoding· CCognitree
  12. 828Linked List Cycle IIMediumCoding· ServiceNow
  13. 829Linked list implementationCoding· UKG
  14. 830Linked List ReversalCoding· ServiceNow
  15. 831Linked List ScoringCoding· JTJosh Technology Group
  16. 832LinkedlistCoding· Ciena
  17. 833LLD: Design a parking lot system with multiple floors and real-time availability trackingCoding· Boston Consulting Group
  18. 834Longest Consecutive SequenceMediumCoding· Amazon, Microsoft
  19. 835Longest Cycle in a GraphHardCoding· Goldman Sachs
  20. 836Longest Increasing Subsequence Using Dynamic ProgrammingCoding· McKinsey & Company
  21. 837Longest Palindromic SubstringMediumCoding· AutoDesk
  22. 838Longest path in an undirected graphCoding· Google
  23. 839Longest Subarray with Sum ≤ KCoding· Salesforce
  24. 840Main DSCoding· Flipkart