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
94 questions
- 73Given a string s, return true if the s can be a palindrome after deleting at most one character from it.MediumCoding·
Meta - 74Find the first common ancestor of two nodes in a binary tree.MediumCoding·
Meta - 75Given a bookstore database schema, write SQL queries using joins and aggregations to answer questions about sales, inventory, and customer data.MediumCodingData·
Meta - 76Build a CalculatorMediumCoding·
Adobe, Apple - 77Construct a binary tree given its preorder and inorder traversals.MediumCoding·
Adobe, Amazon - 78Find the number of users who called three or more people in the last week.MediumCodingData·
Meta - 79Custom Sort StringMediumCoding·
Meta - 80Design a data structure that supports insert, delete, search, and retrieve in constant time.MediumCoding·
Meta - 81Determine if a given binary tree is a binary search tree (BST).MediumCoding·
Adobe, Google - 82Given an array of points and a point P, find the k closest points to P.MediumCoding·
Amazon, LinkedIn - 83Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 84Given an array representing the height of buildings from a sea beach, return an array of heights of the buildings that have a sea view.MediumCoding·
Meta - 85Implement a doubly linked list.MediumCoding·
Anduril, Apple - 86What percentage of users who were active on Messenger yesterday made a video call yesterday?MediumCodingData·
Meta - 87Given a head node of a linked list, delete k-th node from the end of the list.MediumCoding·
Meta - 88Reverse a linked list.EasyCoding·
Adobe, Apple - 89Find the smallest missing element from a sorted array.EasyCodingTechnical·
Meta - 90Sort a doubly linked list using merge sort.MediumCodingTechnical·
Meta - 91Given an array of integers, print all subarrays that sum to zero.MediumCodingData·
Meta - 92Find the sum of all elements in a binary tree that fall within the range [low, high], where 'low' and 'high' are integers.MediumCoding·
Meta - 93Valid ParenthesesEasyCoding·
Apple, Booking.com - 94Is this a valid palindrome?EasyCoding·
Adobe, Apple