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 4Medium 6Hard 4
Filters · onDifficulty, topic, company
14 questions
- 1Merge IntervalsMediumCoding·
Blinkit, Docquity Holdings(PBS) - 2Merge two sorted listsEasyCoding·
Intuit, Oracle - 3Group anagramsMediumCoding·
Blinkit, MakeMyTrip - 4Linked List CycleEasyCoding· CCognitree
- 5Implement LRU Cache.HardCoding·
Accenture, Adobe - 6Find the maximum subarray sum.MediumCoding·
Adobe, Apple - 7Given an integer array nums and an integer k, return true if nums has a subarray of at least two elements whose sum is a multiple of k.HardCoding·
Adobe, Apple - 8Calculate the trapped rainwater between bars in a given array.HardCoding·
Adobe, Amazon - 9Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 10Given an array of points on a plane (x,y), write a function to return the distance between the closest pair of points.HardCoding·
Visa - 11Find the number of rotations in a circularly sorted array.MediumCoding·
AMD, Microsoft - 12Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 13Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding·
Adobe, Amazon - 14Reverse a SentenceEasyCoding·
Adobe, Apple