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
129 questions
- 1Frog JumpCoding·
Amazon, Apple - 2K-th Largest element in an arrayCoding·
Apple, Blinkit - 3Kth largest element in a stream of running integersCoding·
Apple - 4Read N Characters Given Read4Coding·
Apple - 5Top k frequent elementsMediumCoding·
Amazon, Apple - 6Word ladder ICoding·
Apple, Linkedin - 73Sum ClosestMediumCoding·
Apple, Kotak - 8Assign CookiesCoding·
Apple - 9Clone a Linked List with Random PointersCoding·
Apple - 10Convert a sorted linked list to a balanced BSTCoding·
Apple - 11Group anagramsMediumCoding·
Blinkit, MakeMyTrip - 12Linked List CycleEasyCoding· CCognitree
- 13Minimum Height TreesMediumCoding·
Apple, UrbanCompany - 14One medium-hard DP problemCoding·
Apple - 15Product of Array Except SelfMediumCoding·
PayPal, Target - 16reverse a singly linked list in groups of kCoding·
Apple - 17Spiral Matrix TraversalCoding·
Apple - 18Traveling Salesman ProblemCoding·
Apple - 19Course ScheduleMediumCoding·
Zoho - 20Design a plan to migrate an existing authentication system to a new one.HardSystem design·
Apple - 21Given the root of a binary tree of integers, return the maximum path sum.MediumCoding·
Adobe, Apple - 22Build a Basic Regex ParserHardCoding·
Adobe, Apple - 23How would you build an object detection system to identify and locate flowers in images?HardAI ML·
Apple - 24How would you build social features on Lyft to increase user engagement?MediumProductSystem design·
Apple, Lyft