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 1Medium 9Hard 2
Filters · onDifficulty, topic, company
9 questions
- 1LRU CacheMediumCoding·
Adobe, Amazon - 2Longest Increasing SubsequenceMediumCodingAI ML·
Atlassian, Meta - 3Product of Array Except SelfMediumCoding·
PayPal, Target - 4Valid SudokuMediumCoding·
PayPal - 5Given a castle with rooms named after flowers where each room has an instruction to the next room, write an algorithm to find the rooms containing treasure.MediumCoding·
PayPal - 6Find the longest substring without repeating characters.MediumCoding·
Apple, Intuit - 7Squares of sorted arrayMediumCoding·
Meta, PayPal - 8Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 9Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding·
Adobe, Amazon