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
- 1Design a plan to migrate an existing authentication system to a new one.HardSystem design·
Apple - 2Build a Basic Regex ParserHardCoding·
Adobe, Apple - 3How would you build an object detection system to identify and locate flowers in images?HardAI ML·
Apple - 4Implement multi-head self-attention correctlyHardCodingSystem design·
Apple - 5Implement a hashmap without using any libraries.HardCoding·
Apple, Goldman Sachs - 6Design a typeahead box for a search engine.HardSystem design·
Adobe, Amazon - 7Implement LRU Cache.HardCoding·
Accenture, Adobe - 8Merge k sorted linked lists.HardCoding·
Adobe, Apple - 9Given 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 - 10Sudoku SolverHardCoding·
Adobe, Apple - 11Calculate the trapped rainwater between bars in a given array.HardCoding·
Adobe, Amazon - 12Describe a challenging project you worked on and what made it difficult.HardBehavioral·
Amazon, Anthropic - 13Edit distanceHardCoding·
Adobe, Amazon - 14Implement a red-black tree.HardCoding·
Apple