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
- 49Coin ChangeMediumCodingTechnical·
Apple, Citi - 50Edit distanceHardCoding·
Adobe, Amazon - 51Explain the filter function.MediumCoding·
Apple - 52Explain the map function.EasyCoding·
Apple - 53Explain the sort function.EasyCoding·
Apple - 54Find the palindromes.EasyCoding·
Amazon, Apple - 55Find peak element in an arrayEasyCoding·
Apple - 56Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 57Given a string that doesn't fit into a machine's memory, split it at each space and count the number of spaces.MediumCoding·
Apple - 58Implement a doubly linked list.MediumCoding·
Anduril, Apple - 59Implement a red-black tree.HardCoding·
Apple - 60Write a function to return all prime numbers up to a given number n.MediumCoding·
Adobe, Apple - 61Reverse a SentenceEasyCoding·
Adobe, Apple - 62Reverse a linked list.EasyCoding·
Adobe, Apple - 63Set Matrix ZeroesMediumCoding·
Apple - 64Valid ParenthesesEasyCoding·
Apple, Booking.com - 65Is this a valid palindrome?EasyCoding·
Adobe, Apple