Skip to main content

Interview Questions

Review this list of 4,415 interview questions and answers verified by hiring managers and candidates.
  • Google logoAsked at Google 
    2 answers

    "I would assume that this is similar to an intervals question. Meeting Rooms II (https://www.lintcode.com/problem/919/?fromId=203&_from=collection) on Leetcode seems like the closest comparison, it's a premium question so I linked Lintcode. I'm assuming that we also need to just return the minimum number of cars used. You need to sort for the most optimal solution, so you're constrained by an O(nlogn) time complexity. So any sorting solution could work (using a heap, sorting the array input arra"

    Sohum S. - "I would assume that this is similar to an intervals question. Meeting Rooms II (https://www.lintcode.com/problem/919/?fromId=203&_from=collection) on Leetcode seems like the closest comparison, it's a premium question so I linked Lintcode. I'm assuming that we also need to just return the minimum number of cars used. You need to sort for the most optimal solution, so you're constrained by an O(nlogn) time complexity. So any sorting solution could work (using a heap, sorting the array input arra"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Amazon logoAsked at Amazon 
    Add answer
    Machine Learning Engineer
    Concept
    +1 more
  • Meta logoAsked at Meta 
    4 answers
    +1

    "Approach 1: Use sorting and return the kth largest element from the sorted list. Time complexity: O(nlogn) Approach 2: Use max heap and then select the kth largest element. time complexity: O(n+logn) Approach 3: Quickselect. Time complexity O(n) I explained my interviewer the 3 approaches. He told me to solve in a naive manner. Used Approach 1 had some time left so coded approach 3 also The average time complexity of Quickselect is O(n), making it very efficient for its purpose. However, in"

    GalacticInterviewer - "Approach 1: Use sorting and return the kth largest element from the sorted list. Time complexity: O(nlogn) Approach 2: Use max heap and then select the kth largest element. time complexity: O(n+logn) Approach 3: Quickselect. Time complexity O(n) I explained my interviewer the 3 approaches. He told me to solve in a naive manner. Used Approach 1 had some time left so coded approach 3 also The average time complexity of Quickselect is O(n), making it very efficient for its purpose. However, in"See full answer

    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Google logoAsked at Google 
    2 answers

    "i use google frequently, but most of the time i use for syntax and terms which i dont undestand, google is my go to guy."

    Ankit R. - "i use google frequently, but most of the time i use for syntax and terms which i dont undestand, google is my go to guy."See full answer

    Machine Learning Engineer
    Behavioral
  • 1 answer

    " Broke down the problem in this: Features scope API design Pseudo code for specific components Data model/schema Back-of-the-envelope calculations Reference links Link to whiteboard or diagram such as https://sketchboard.me/new Good luck! Considerations: Content could be potential large Older content should clean from the server URL: Pastebin.com/2324234 Features Scope: user can paste any text content .TXT, .HTML Limit on the amount content compress data and send over"

    Ayo A. - " Broke down the problem in this: Features scope API design Pseudo code for specific components Data model/schema Back-of-the-envelope calculations Reference links Link to whiteboard or diagram such as https://sketchboard.me/new Good luck! Considerations: Content could be potential large Older content should clean from the server URL: Pastebin.com/2324234 Features Scope: user can paste any text content .TXT, .HTML Limit on the amount content compress data and send over"See full answer

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

  • Google logoAsked at Google 
    Add answer
    Product Manager
    Behavioral
    +1 more
  • Airbnb logoAsked at Airbnb 
    1 answer

    "This is posed as a tricky question at first, but we can actually approach this very similarly to a Favorite Product question. It's always good to start with identifying what type of problem you're tackling. The problem we need to tackle is essentially a variation on a Favorite Product Question: Choose a product and briefly explain what it is Who are the users? What are their pain points? How did competitors solve it in the past? **How does this product addr"

    Exponent - "This is posed as a tricky question at first, but we can actually approach this very similarly to a Favorite Product question. It's always good to start with identifying what type of problem you're tackling. The problem we need to tackle is essentially a variation on a Favorite Product Question: Choose a product and briefly explain what it is Who are the users? What are their pain points? How did competitors solve it in the past? **How does this product addr"See full answer

    Product Manager
  • Waymo logoAsked at Waymo 
    Add answer
    Product Design
  • Yelp logoAsked at Yelp 
    1 answer

    "You should identify this type of interview question as an Expansion problem, since we're expanding to a new market. This is similar to a growth problem, with a few additional components. This is the formula you should use when tackling these types of interview questions: Ask clarifying questions Perform user analysis Market risk analysis State goals Perform channel analysis Prioritize growth channels Strategy Summarize Without further"

    Exponent - "You should identify this type of interview question as an Expansion problem, since we're expanding to a new market. This is similar to a growth problem, with a few additional components. This is the formula you should use when tackling these types of interview questions: Ask clarifying questions Perform user analysis Market risk analysis State goals Perform channel analysis Prioritize growth channels Strategy Summarize Without further"See full answer

    Product Manager
    System Design
  • Microsoft logoAsked at Microsoft 
    1 answer

    "This problem tests your ability to make sense of strategic business decisions. Don't feel pressured to start speaking immediately — you should feel free to take a few moments of silence to come up with some sound arguments. This makes your answer sound more measured and thought through. For this question, there are a few lines of reasoning you can go with. Data > LinkedIn was, and still is, the largest professional social network on the web. Since almost every high-powered executive and senio"

    Exponent - "This problem tests your ability to make sense of strategic business decisions. Don't feel pressured to start speaking immediately — you should feel free to take a few moments of silence to come up with some sound arguments. This makes your answer sound more measured and thought through. For this question, there are a few lines of reasoning you can go with. Data > LinkedIn was, and still is, the largest professional social network on the web. Since almost every high-powered executive and senio"See full answer

    Product Manager
    Product Strategy
  • 12 answers
    +8

    "productssold = set(transactions['productid']) unsoldproducts = products.loc[~products['id'].isin(productssold)] return unsold_products[["id", "name", "stock"]] `"

    Laura U. - "productssold = set(transactions['productid']) unsoldproducts = products.loc[~products['id'].isin(productssold)] return unsold_products[["id", "name", "stock"]] `"See full answer

    Coding
    Data Analysis
  • Scale AI logoAsked at Scale AI 
    Add answer
    BizOps & Strategy
    Analytical
  • Walmart Labs logoAsked at Walmart Labs 
    1 answer

    "We've identified the problem as a Design a Product question. Use the following framework for tackling these types of questions: Ask Clarifying Questions Identify users, behaviors, and pain points State product goal Identify current solutions Brainstorm new solutions Evaluate solutions Measure success Summarize We'll go through each of these step by step. Ask Clarifying Questions The PM interview isn't about your ability to come up w"

    Exponent - "We've identified the problem as a Design a Product question. Use the following framework for tackling these types of questions: Ask Clarifying Questions Identify users, behaviors, and pain points State product goal Identify current solutions Brainstorm new solutions Evaluate solutions Measure success Summarize We'll go through each of these step by step. Ask Clarifying Questions The PM interview isn't about your ability to come up w"See full answer

    Product Manager
    System Design
  • Unilever logoAsked at Unilever 
    1 answer

    "Alright kiddo, imagine you have a big box of LEGO bricks. Each brick is like a tiny tool that helps you build something special. Now, think about a game you love to play on your computer or phone. The people who make those games want to help other people make things that work with their games, like new levels or characters. So, they create something called an "SDK," which stands for "Software Development Kit." This is like a special set of LEGO bricks and instructions that they share with other"

    Srilaxmi C. - "Alright kiddo, imagine you have a big box of LEGO bricks. Each brick is like a tiny tool that helps you build something special. Now, think about a game you love to play on your computer or phone. The people who make those games want to help other people make things that work with their games, like new levels or characters. So, they create something called an "SDK," which stands for "Software Development Kit." This is like a special set of LEGO bricks and instructions that they share with other"See full answer

    Technical
  • Google logoAsked at Google 
    Add answer
    Technical
  • Envoy logoAsked at Envoy 
    1 answer

    "I would get an personal understanding of the pain-points my customers, & business teams are facing. In my experience, spending more time, going deeper in the problem discovery helped me get a rough idea of the how important this problem is. If this is not resolved - what could be the consequences for our users & the business. Given this broad idea, I just simply evaluate them on value vs effort scale. The higher the score, higher the priority. Effort could be in T-shirt size or sto"

    Abhishek s. D. - "I would get an personal understanding of the pain-points my customers, & business teams are facing. In my experience, spending more time, going deeper in the problem discovery helped me get a rough idea of the how important this problem is. If this is not resolved - what could be the consequences for our users & the business. Given this broad idea, I just simply evaluate them on value vs effort scale. The higher the score, higher the priority. Effort could be in T-shirt size or sto"See full answer

    Analytical
    Execution
    +1 more
  • Meta logoAsked at Meta 
    1 answer

    "This is a Diagnosis Question. The goal of Diagnosis questions is to test whether the interviewee is organized and logical in their product approach. It also tests whether the PM is exhaustive in causes for decreases and whether they provides realistic solutions to the problem. Let's follow the Diagnosis Question formula: Ask clarifying questions Propose high level reasons for a drop Gather context (TROPIC) Establish a theory of probable cause Test theories "

    Exponent - "This is a Diagnosis Question. The goal of Diagnosis questions is to test whether the interviewee is organized and logical in their product approach. It also tests whether the PM is exhaustive in causes for decreases and whether they provides realistic solutions to the problem. Let's follow the Diagnosis Question formula: Ask clarifying questions Propose high level reasons for a drop Gather context (TROPIC) Establish a theory of probable cause Test theories "See full answer

    Product Manager
    Analytical
    +1 more
  • Uber logoAsked at Uber 
    1 answer

    "This is another Fermi problem — an estimation or approximation problem with limited information and back-of-the-envelope calculations. There's no right answer: interviewers want to understand how you think and how well you can explain your reasoning, rather than what you already know. Recall the formula for Fermi problems: Ask clarifying questions Catalog what you know Make equation(s) Think about edge cases to add to equation **Breakdown components of your"

    Exponent - "This is another Fermi problem — an estimation or approximation problem with limited information and back-of-the-envelope calculations. There's no right answer: interviewers want to understand how you think and how well you can explain your reasoning, rather than what you already know. Recall the formula for Fermi problems: Ask clarifying questions Catalog what you know Make equation(s) Think about edge cases to add to equation **Breakdown components of your"See full answer

    Product Manager
    Estimation
  • LinkedIn logoAsked at LinkedIn 
    Add answer
    Analytical
    Product Strategy
  • WhatsApp logoAsked at WhatsApp 
    Add answer
    Estimation
Showing 2641-2660 of 4415