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
397 questions
- 1Merge IntervalsMediumCoding·
Blinkit, Docquity Holdings(PBS) - 2Top k frequent elementsMediumCoding·
Amazon, Apple - 3Word BreakMediumCoding·
Meta, ServiceNow - 4Array NestingMediumCoding·
Meta - 5Binary Tree Right Side ViewMediumCoding·
Meta - 6Boats to Save PeopleMediumCoding·
IDFC FIRST Bank, Meta - 7Check if a Parentheses String Can Be ValidMediumCoding·
Meta, ServiceNow - 8Longest Increasing SubsequenceMediumCodingAI ML·
Atlassian, Meta - 9Count Subarrays Where Max Element Appears at Least K TimesMediumCoding·
Meta - 10Minimum Remove to Make Valid ParenthesesMediumCoding·
Meta - 11Product of Array Except SelfMediumCoding·
PayPal, Target - 12Sort a K-Messed ArrayMediumCoding·
Meta - 13Sum Root to Leaf NumbersMediumCoding·
BitGo, Meta - 14You're the PM for Amazon's shopping cart. What are the most important metrics for this product?MediumData·
Meta - 15If a manager said we need to focus on travel, how would you approach that problem?MediumDataProduct·
Meta - 16Write a function to balance parentheses in a given string by removing the fewest characters possible. Ensure that each opening parenthesis has a corresponding closing parenthesis and each pair is properly nested.MediumCoding·
Meta - 17Given a string with parentheses, write a function that removes the minimum number of characters to balance the parentheses.MediumCoding·
Meta - 18Design a better house hunting experience.MediumProduct·
Meta - 19Given a binary tree, check if each node is the average of all descendantsMediumCoding·
Meta - 20Given the root of a binary tree, return the length of the diameter of the tree.MediumCoding·
Amazon, Google - 21How would you build an education app for kids?MediumProduct·
Meta - 22How would you build a product for movies on Facebook?MediumProduct·
Meta - 23Build a solution for employee travel at Facebook.MediumProduct·
Meta - 24You're the PM for a calendar app. How would you design metrics for it?MediumDataProduct·
Meta