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
18 questions
- 1Assign human labelers, tasks, and models so every pairing is balanced.HardCoding· 30 min·
OpenAI - 2Build a Basic Regex ParserHardCoding·
Adobe, Apple - 3Given a list of conversion items between symbols, write an algorithm to return the conversion ratio for each pair of symbols.HardCodingTechnical·
Snap - 4Implement a hashmap without using any libraries.HardCoding·
Apple, Goldman Sachs - 5Find the first missing positive number in an array.HardCoding·
Amazon - 6Implement LRU Cache.HardCoding·
Accenture, Adobe - 7Merge k sorted linked lists.HardCoding·
Adobe, Apple - 8Given two strings (Word 1 and Word 2) and a list of valid words from a dictionary, return the minimum number of operations required to convert Word 1 to Word 2.HardCoding·
Airbnb - 9Given a matrix with a rat, bread, cat, and obstacles, find a path from the rat to the bread that maximizes the minimum distance from cat.HardCoding·
Google - 10Given 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 - 11Sudoku SolverHardCoding·
Adobe, Apple - 12Calculate the trapped rainwater between bars in a given array.HardCoding·
Adobe, Amazon - 13Calculate the number of times a pattern appears in a string.HardCoding·
LinkedIn - 14Given an array of points on a plane (x,y), write a function to return the distance between the closest pair of points.HardCoding·
Visa - 15Edit distanceHardCoding·
Adobe, Amazon - 16Implement a red-black tree.HardCoding·
Apple - 17Find the Largest Smaller BST KeyHardCoding
- 18BST Successor SearchHardCoding