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 18Hard 4
Filters · onDifficulty, topic, company
28 questions
- 1LRU CacheMediumCoding·
Adobe, Amazon - 2Median of 2 sorted arraysCoding·
PayPal, Paytm - 3Reverse Words in a String IICoding·
PayPal - 4Best Time to Buy and Sell StockCoding·
PayPal, Swiggy - 5Longest Increasing SubsequenceMediumCodingAI ML·
Atlassian, Meta - 6Product of Array Except SelfMediumCoding·
PayPal, Target - 7Spiral MatrixCoding·
Meta, PayPal - 8Valid SudokuMediumCoding·
PayPal - 9Zigzag ConversionCoding·
PayPal - 10Given 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 - 11There's a YoY slowdown in transactions. How would you structure your analysis?HardData·
PayPal - 12How does PayPal generate its revenue?MediumProduct·
PayPal - 13What are the key metrics you track for the product you currently manage?MediumDataProduct·
Adobe, PayPal - 14Find the longest substring without repeating characters.MediumCoding·
Apple, Intuit - 15Implement LRU Cache.HardCoding·
Accenture, Adobe - 16Tell me about a time when you received negative feedback and how you handled it.MediumBehavioral·
Amazon, American Express - 17Squares of sorted arrayMediumCoding·
Meta, PayPal - 18Calculate the trapped rainwater between bars in a given array.HardCoding·
Adobe, Amazon - 19You're a PM for Uber Eats. Cart conversation has dropped by 10% in the last 3 months. How would you find the root cause?MediumDataProduct·
PayPal - 20Tell me about a user need that is not being met by the market. How would you validate a solution for it?MediumBehavioralProduct·
PayPal - 21Why did PayPal acquire Honey?Medium·
PayPal - 22Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 23Design a system that recommends the next Confluence pages a user should view.HardAI MLSystem design·
Atlassian, PayPal - 24Given an array, find the two sum.EasyCoding·
Adobe, Amazon