Skip to main content

Interview Questions

Review this list of 4,603 interview questions and answers verified by hiring managers and candidates.
  • Amazon logoAsked at Amazon 
    3 answers

    "I started asking some questions regarding the constrains of the system: An antena is emitting a signal that says if the tagged device was out of the room where the interview was happening. I was able to decide which would be the schema for the Antena's message. The antena is sending the info of multiple users. The system doesn't need to push notification to the users when the user left the device behind. Upon reflection, this is what I recollected doing. I propuse the json schema a"

    Eduardo C. - "I started asking some questions regarding the constrains of the system: An antena is emitting a signal that says if the tagged device was out of the room where the interview was happening. I was able to decide which would be the schema for the Antena's message. The antena is sending the info of multiple users. The system doesn't need to push notification to the users when the user left the device behind. Upon reflection, this is what I recollected doing. I propuse the json schema a"See full answer

    Software Engineer
    System Design
  • Product Manager
    Analytical
    +1 more
  • Product Manager
    Analytical
    +2 more
  • Booking.com logoAsked at Booking.com 
    6 answers
    +3

    "I began by defining Booking.com as a marketplace or a platform, matching between supply and demand, with a transaction in the middle (payment/booking process). This structure allows me to categorize potential cancellations into three main channels: demand, supply, and transaction. Cancellation Scenarios: a. Demand (Guests/Travelers): Change of Plans: Guests might change their travel plans. Found a Better Deal: They might find a better deal elsewhere. Errors in Booking: Accidental booking o"

    Yazeed - "I began by defining Booking.com as a marketplace or a platform, matching between supply and demand, with a transaction in the middle (payment/booking process). This structure allows me to categorize potential cancellations into three main channels: demand, supply, and transaction. Cancellation Scenarios: a. Demand (Guests/Travelers): Change of Plans: Guests might change their travel plans. Found a Better Deal: They might find a better deal elsewhere. Errors in Booking: Accidental booking o"See full answer

    Product Manager
    Analytical
    +1 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Google logoAsked at Google 
    1 answer

    "These are a set of utilities used to manage the heap memory as part of an application. The C standard library implements these functions. malloc(bytes) takes a number of bytes and returns a pointer to the start of the allocated buffer. If the allocation failed, a null pointer is returned instead. calloc(count, size) behaves like malloc(count * size), but also zero-initializes the allocated buffer, assuming the allocation succeeded. realloc(ptr, size) takes a pointer to a previously al"

    J R. - "These are a set of utilities used to manage the heap memory as part of an application. The C standard library implements these functions. malloc(bytes) takes a number of bytes and returns a pointer to the start of the allocated buffer. If the allocation failed, a null pointer is returned instead. calloc(count, size) behaves like malloc(count * size), but also zero-initializes the allocated buffer, assuming the allocation succeeded. realloc(ptr, size) takes a pointer to a previously al"See full answer

    Software Engineer
    Coding
    +1 more
  • +4

    "Clarification Questions : Do all 10000 persons need Email access, or is 10000 people the colony's size? : Yes, 10000 people will use emails. As I am a PM for Gmail, I assume we are focusing just on email as a form of communication: Yes. Are there any requirements on the size of attachments allowable in the emails? : I will leave it up to you. Understand the user behavior -> Identify key metrics -> Make quantitative estimation -> Understand plans -> Propose network bandwidth. User b"

    Navin T. - "Clarification Questions : Do all 10000 persons need Email access, or is 10000 people the colony's size? : Yes, 10000 people will use emails. As I am a PM for Gmail, I assume we are focusing just on email as a form of communication: Yes. Are there any requirements on the size of attachments allowable in the emails? : I will leave it up to you. Understand the user behavior -> Identify key metrics -> Make quantitative estimation -> Understand plans -> Propose network bandwidth. User b"See full answer

    Product Manager
    Estimation
  • Meta logoAsked at Meta 
    2 answers

    "class TreeNode(var val: Int, var left: TreeNode? = null, var right: TreeNode? = null) fun isAverageOfDescendants(root: TreeNode?): Boolean { fun helper(node: TreeNode?): Triple { if (node == null) return Triple(0, 0, true) val (leftSum, leftCount, leftValid) = helper(node.left) val (rightSum, rightCount, rightValid) = helper(node.right) val totalSum = leftSum + rightSum val totalCount = leftCount + rightCount // If leaf n"

    Gaurav B. - "class TreeNode(var val: Int, var left: TreeNode? = null, var right: TreeNode? = null) fun isAverageOfDescendants(root: TreeNode?): Boolean { fun helper(node: TreeNode?): Triple { if (node == null) return Triple(0, 0, true) val (leftSum, leftCount, leftValid) = helper(node.left) val (rightSum, rightCount, rightValid) = helper(node.right) val totalSum = leftSum + rightSum val totalCount = leftCount + rightCount // If leaf n"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • 25 answers
    +22

    "The user table no longer exists as expected - I get an error that user does not contain user_id. Note that querying the table results in only user:swuoevkivrjfta select * FROM user `"

    Evan R. - "The user table no longer exists as expected - I get an error that user does not contain user_id. Note that querying the table results in only user:swuoevkivrjfta select * FROM user `"See full answer

    Data Engineer
    Coding
    +3 more
  • Airbnb logoAsked at Airbnb 
    5 answers
    Video answer for 'Design Airbnb's search functionality.'
    +2

    "The back-of-the-envelope calculation is very well done!"

    Ushita S. - "The back-of-the-envelope calculation is very well done!"See full answer

    Software Engineer
    System Design
  • Stripe logoAsked at Stripe 
    7 answers
    Video answer for 'How do you set goals for your engineering team?'
    +3

    "Wondering what is the difference between OKR based and Roadmap based. I feel it is based on the time horizon."

    Imju B. - "Wondering what is the difference between OKR based and Roadmap based. I feel it is based on the time horizon."See full answer

    Engineering Manager
    Behavioral
  • "If I launched a feature users love but that isn't driving business value, I'd first validate whether we're measuring the right metrics — then systematically test monetization paths before deciding to scale, pivot, or kill it. Step 1: Diagnose the Gap I'd start by understanding why engagement isn't translating to business impact. The problem usually falls into one of three categories: Wrong user segment: The feature attracts users who don't convert or have low lifetime value **Mis"

    Varun G. - "If I launched a feature users love but that isn't driving business value, I'd first validate whether we're measuring the right metrics — then systematically test monetization paths before deciding to scale, pivot, or kill it. Step 1: Diagnose the Gap I'd start by understanding why engagement isn't translating to business impact. The problem usually falls into one of three categories: Wrong user segment: The feature attracts users who don't convert or have low lifetime value **Mis"See full answer

    Product Manager
    Product Strategy
  • Meta logoAsked at Meta 
    4 answers

    "Clarifying Questions Is the product a digital or physical marketplace? (Digital) Are we building an educational platform, freelance platform, or marketplace? (Freelance platform) Are we focusing on a specific geographical location? (India) Will the platform involve online transactions? (Yes) User Personas Individual Gardeners: Self-employed gardeners offering their services. Gardening Agencies: Organizations providing gardening services. **Educational Institutio"

    Preetham m P. - "Clarifying Questions Is the product a digital or physical marketplace? (Digital) Are we building an educational platform, freelance platform, or marketplace? (Freelance platform) Are we focusing on a specific geographical location? (India) Will the platform involve online transactions? (Yes) User Personas Individual Gardeners: Self-employed gardeners offering their services. Gardening Agencies: Organizations providing gardening services. **Educational Institutio"See full answer

    Product Manager
    Product Design
  • TikTok logoAsked at TikTok 
    3 answers

    "I can see that Gen Z (born between 1995 and 2009) needs a redesigned washing machine with a busier life than ever, newer living arrangements, and a longer time frame. Let's try and understand why we need a new product for Gen Z: Clarifying question - 1) Do we have a specific goal while redesigning the machine? Should we optimize for speed, space, or functionalities? (Assume - No) 2) Do we have geographical constraints? Countries have different power and electrical thresholds, which can decide"

    Ishan S. - "I can see that Gen Z (born between 1995 and 2009) needs a redesigned washing machine with a busier life than ever, newer living arrangements, and a longer time frame. Let's try and understand why we need a new product for Gen Z: Clarifying question - 1) Do we have a specific goal while redesigning the machine? Should we optimize for speed, space, or functionalities? (Assume - No) 2) Do we have geographical constraints? Countries have different power and electrical thresholds, which can decide"See full answer

    Product Manager
    Product Design
  • Apple logoAsked at Apple 
    24 answers
    +21

    " def is_valid(s: str) -> bool: openBracket = set() openBracket.add('{') openBracket.add('(') openBracket.add('[') stack = [] for c in s: if stack and (c == ')' and stack[len(stack)-1] == '(')\ or\ (c == '}' and stack[len(stack)-1] == '{')\ or\ (c == ']' and stack[len(stack)-1] == '['): stack.pop() elif c in openBracket: stack.append(c) else: retu"

    Aikya S. - " def is_valid(s: str) -> bool: openBracket = set() openBracket.add('{') openBracket.add('(') openBracket.add('[') stack = [] for c in s: if stack and (c == ')' and stack[len(stack)-1] == '(')\ or\ (c == '}' and stack[len(stack)-1] == '{')\ or\ (c == ']' and stack[len(stack)-1] == '['): stack.pop() elif c in openBracket: stack.append(c) else: retu"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • Amazon logoAsked at Amazon 
    1 answer
    Video answer for 'Design a Distributed Message Queue'

    "Good Discussion on the distributed messaging queues (Complex topic with lot of nuances) Liked the mind-map style drawing of requirements and metrics capture Touched on different types of queue styles (point to point, pub-sub, fan-out/fan-in) Storage and WAL usage was interesting Some distributed queue challenges that could be helpful to highlight / expand are: Message guarantee / semantics - Ordering of messages across different servers Replication Master slave architecture or Pe"

    Karthik R. - "Good Discussion on the distributed messaging queues (Complex topic with lot of nuances) Liked the mind-map style drawing of requirements and metrics capture Touched on different types of queue styles (point to point, pub-sub, fan-out/fan-in) Storage and WAL usage was interesting Some distributed queue challenges that could be helpful to highlight / expand are: Message guarantee / semantics - Ordering of messages across different servers Replication Master slave architecture or Pe"See full answer

    Software Engineer
    System Design
  • Amazon logoAsked at Amazon 
    6 answers
    +3

    "Approach (BFS + Horizontal Distance) Assign a horizontal distance (HD) to each node. Root → HD = 0 Left child → HD = parent HD - 1 Right child → HD = parent HD + 1 Do a BFS (level order traversal). If a node with a given HD is seen for the first time, add it to the result. Ignore later nodes with the same HD (because only the top one is visible). After traversal, sort by HD and print nodes left to righ"

    Firdous A. - "Approach (BFS + Horizontal Distance) Assign a horizontal distance (HD) to each node. Root → HD = 0 Left child → HD = parent HD - 1 Right child → HD = parent HD + 1 Do a BFS (level order traversal). If a node with a given HD is seen for the first time, add it to the result. Ignore later nodes with the same HD (because only the top one is visible). After traversal, sort by HD and print nodes left to righ"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • "Batch Packing Problem In Amazon’s massive warehouse inventory, there are different types of products. You are given an array products of size n, where products[i] represents the number of items of product type i. These products need to be packed into batches for shipping. The batch packing must adhere to the following conditions: No two items in the same batch can be of the same product type. The number of items packed in the current batch must be strictly greater than the number pack"

    Anonymous Goat - "Batch Packing Problem In Amazon’s massive warehouse inventory, there are different types of products. You are given an array products of size n, where products[i] represents the number of items of product type i. These products need to be packed into batches for shipping. The batch packing must adhere to the following conditions: No two items in the same batch can be of the same product type. The number of items packed in the current batch must be strictly greater than the number pack"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Capital One logoAsked at Capital One 
    1 answer

    "I would start by asking a clarifying question - Is there a specific problem we are trying to solve? I want to get some guidance from the interviewer around the type of answer they're looking for or if there's specific paths they want us to take. Ultimately, I would start by identifying the users and moving through the process by identifying pain points and then potential solutions. It is important to start to get into the details of the solutions and features once pain points have been identifie"

    Simer S. - "I would start by asking a clarifying question - Is there a specific problem we are trying to solve? I want to get some guidance from the interviewer around the type of answer they're looking for or if there's specific paths they want us to take. Ultimately, I would start by identifying the users and moving through the process by identifying pain points and then potential solutions. It is important to start to get into the details of the solutions and features once pain points have been identifie"See full answer

    Product Manager
Showing 561-580 of 4603
Exponent

Get updates in your inbox with the latest tips, job listings, and more.

Follow Us

Products
Courses
Interview Questions
Interview Experiences
Popular articles
Guides
Coaching
For Partners
Company
Exponent © 2026
Terms of Service | Privacy