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. 361Koko eating bananas.MediumCoding· Flipkart, Amazon
  2. 362Kth element of 2 sorted arraysCoding· ASArrise Solutions
  3. 363Kth largest element in a stream of running integersCoding· Apple
  4. 364Largest Divisible SubsetCoding· Oracle
  5. 365Largest rectangle in a histogramCoding· Goldman Sachs, Porter
  6. 366Left Rotate Array by K PlacesCoding· Oracle, Visa
  7. 367Left Rotate Array by OneCoding· Paytm
  8. 368Letter Combinations of a Phone NumberCoding· Amazon, Flexport
  9. 369LFU CacheHardCoding· BloomBerg, Meta
  10. 370Logger Rate LimiterCoding· Microsoft
  11. 371Longest Consecutive Sequence in an ArrayCoding· ZZupee
  12. 372Longest happy prefixCoding· Microsoft
  13. 373Longest Palindromic SubstringCoding· Paytm
  14. 374Longest Repeating Character ReplacementCoding· InfoEdge India Ltd
  15. 375Longest Substring With At Most K Distinct CharactersCoding· BitGo, Groww
  16. 376Lowest Common Ancestor of a Binary Tree IICoding· Amazon
  17. 377Lowest Common Ancestor of a Binary Tree IIICoding· Amazon, Linkedin
  18. 378Lowest Common Ancestor of a Binary Tree IVCoding· J.P. Morgan, Microsoft
  19. 379LRU CacheMediumCoding· Adobe, Amazon
  20. 380Majority Element-ICoding· Amazon, MakeMyTrip
  21. 381Majority Element-IICoding· Ebay
  22. 382Making a large islandHardCoding· Meta
  23. 383Matrix MedianCoding· J.P. Morgan
  24. 384Max Consecutive Ones IICoding· Microsoft