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 2Medium 15Hard 4
Filters · onDifficulty, topic, company
34 questions
- 25Find the maximum subarray sum.MediumCoding·
Adobe, Apple - 26Sudoku SolverHardCoding·
Adobe, Apple - 27Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 28Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 29Given 2 strings, return the longest common substring.MediumCoding·
Salesforce - 30Given an nxn grid of 1s and 0s, return the number of islands in the input.MediumCoding·
Adobe, Amazon - 31Determine if a number is a power of two.MediumCoding·
Salesforce - 32Write a function to return all prime numbers up to a given number n.MediumCoding·
Adobe, Apple - 33What are the different types of software testing?MediumCodingTechnical·
Salesforce - 34Valid ParenthesesEasyCoding·
Apple, Booking.com