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
65 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 - 20Given the root of a binary tree of integers, return the maximum path sum.MediumCoding·
Adobe, Apple - 21Build a Basic Regex ParserHardCoding·
Adobe, Apple - 22Print all combinations of numbers from 1 to n that sum to n.MediumCoding·
Adobe, Apple - 23Find the container with the maximum volume of water.MediumCoding·
Apple, Goldman Sachs - 24Implement a hashmap without using any libraries.HardCoding·
Apple, Goldman Sachs