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
81 questions
- 49Kth Smallest Element in an ArrayCoding·
Intuit, Microsoft - 50Largest NumberMediumCoding·
Microsoft - 51Longest Consecutive SequenceMediumCoding·
Amazon, Microsoft - 52Merge in Between Linked ListCoding·
Microsoft - 53Most Profit Assigning WorkMediumCoding·
Microsoft - 54Palindrome partitioning IICoding·
Amazon, Microsoft - 55Product of Array Except SelfMediumCoding·
PayPal, Target - 56Reorder ListMediumCoding·
Microsoft - 57SortingCoding·
GoDaddy, Microsoft - 58Tag ValidatorHardCoding·
Microsoft - 59The Skyline ProblemHardCoding·
Microsoft, Zomato - 60TreeCoding· AAugnito, Expedia
- 61Two-Pointer BasedCoding· AAugnito, Cisco Meraki
- 62Given an array of integers and an integer k, find the kth largest element in the array.MediumCoding·
Meta, Microsoft - 63Given two empty jugs with capacities a and b liters and an infinite water supply, determine a way to end up with exactly X liters of water.MediumCoding·
Microsoft - 64Delete Node in a Binary Search Tree (BST).MediumCoding·
Microsoft - 65Explain the differences between an interface and an abstract class.MediumCodingTechnical·
Goldman Sachs, Microsoft - 66Explain the differences between stack and heap memory allocation.MediumCoding·
Apple, Microsoft - 67Find the longest substring without repeating characters.MediumCoding·
Apple, Intuit - 68Implement LRU Cache.HardCoding·
Accenture, Adobe - 69Print all words from a dictionary that can be found on a given Boggle board.MediumCoding·
Microsoft - 70How would you store a list of numbers as a single number?MediumCodingTechnical·
Atlassian, Microsoft - 71Given a list of sentences, find the top n most frequent words.MediumCoding·
Microsoft - 72Determine if an array of integers from 1 to n contains a duplicate in constant time and space.MediumCoding·
Adobe, Apple