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
14 questions
- 1Linked List CycleEasyCoding· CCognitree
- 2Find the DuplicatesEasyCoding·
Adobe, Apple - 3Move all zeros to the end of an array.EasyCoding·
Adobe, Amazon - 4Sort a binary array in linear time.EasyCoding·
Accenture, Apple - 5Calculate the height of a binary tree.EasyCoding·
Apple, Google - 6Explain the map function.EasyCoding·
Apple - 7Explain the sort function.EasyCoding·
Apple - 8Find the palindromes.EasyCoding·
Amazon, Apple - 9Find peak element in an arrayEasyCoding·
Apple - 10Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 11Reverse a SentenceEasyCoding·
Adobe, Apple - 12Reverse a linked list.EasyCoding·
Adobe, Apple - 13Valid ParenthesesEasyCoding·
Apple, Booking.com - 14Is this a valid palindrome?EasyCoding·
Adobe, Apple