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 6Hard 2
Filters · onDifficulty, topic, company
6 questions
- 1Product of Array Except SelfMediumCoding·
PayPal, Target - 2Given 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 - 3Find the longest substring without repeating characters.MediumCoding·
Apple, Intuit - 4Squares of sorted arrayMediumCoding·
Meta, PayPal - 5Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 6Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding·
Adobe, Amazon