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
343 questions
- 49Find the Maximum Length of Valid Subsequence IIMediumCoding·
Expedia - 50Find the Most Competitive SubsequenceMediumCoding·
Nutanix - 51Find the Smallest Divisor Given a ThresholdMediumCoding·
Amazon - 52Find the Winner of an Array GameMediumCoding·
Microsoft - 53Find Three Consecutive Integers That Sum to a Given NumberMediumCoding·
Google - 54Flatten Nested List IteratorMediumCoding·
Linkedin - 55Friend Requests II: Who Has the Most FriendsMediumCoding·
Amazon - 56Friends Of Appropriate AgesMediumCoding·
Adobe - 57Gas StationMediumCoding·
Amazon, Cleartrip - 58Get Equal Substrings Within BudgetMediumCoding·
Amazon - 59Group anagramsMediumCoding·
Blinkit, MakeMyTrip - 60House Robber IIMediumCoding·
Acko - 61Increasing Triplet SubsequenceMediumCoding·
MakeMyTrip, Nutanix - 62Insert Delete GetRandom O(1)MediumCoding·
Amazon, D. E. Shaw & Co - 63Interleaving StringMediumCoding·
Zeta - 64K-th Largest Perfect Subtree Size in Binary TreeMediumCoding·
Informatica - 65Kth Largest Sum in a Binary TreeMediumCoding·
FactSet Research Systems Inc. - 66Kth Smallest Element in a Sorted MatrixMediumCoding·
Adobe - 67Largest NumberMediumCoding·
Microsoft - 68Largest Submatrix With RearrangementsMediumCoding·
Amazon - 69Linked List Cycle IIMediumCoding·
ServiceNow - 70Longest Consecutive SequenceMediumCoding·
Amazon, Microsoft - 71Longest Palindromic SubstringMediumCoding·
AutoDesk - 72Make K-Subarray Sums EqualMediumCoding·
Walmart