Interview Questions

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

    "I would try to understand their perspective, focus on the issue, find common ground, brainstorm solutions, and agree on a course of action."

    Alemayehu m G. - "I would try to understand their perspective, focus on the issue, find common ground, brainstorm solutions, and agree on a course of action."See full answer

    Product Manager
    Behavioral
    +1 more
  • Adobe logoAsked at Adobe 
    Video answer for 'Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?'
    +9

    "from typing import List def maxprofitgreedy(stock_prices: List[int]) -> int: l=0 # buying r=1 # selling max_profit=0 while rstock_prices[l]: profit=stockprices[r]-stockprices[l] maxprofit=max(maxprofit,profit) else: l=r r+=1 return max_profit debug your code below print(maxprofitgreedy([7, 1, 5, 3, 6, 4])) `"

    Prajwal M. - "from typing import List def maxprofitgreedy(stock_prices: List[int]) -> int: l=0 # buying r=1 # selling max_profit=0 while rstock_prices[l]: profit=stockprices[r]-stockprices[l] maxprofit=max(maxprofit,profit) else: l=r r+=1 return max_profit debug your code below print(maxprofitgreedy([7, 1, 5, 3, 6, 4])) `"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Clarifying Question: Are we talking about mission-oriented success or business-oriented success? [Let's assume mission-oriented] Let's start by talking about where Pages fit into the mission of Facebook. Then we'll cover some relevant metrics, identify which are most important for measuring the success of Pages, and then talk about some trade-offs as part of a final recommendation. Mission: Facebook's mission is to empower people to build community and to bring people closer togeth"

    Ian S. - "Clarifying Question: Are we talking about mission-oriented success or business-oriented success? [Let's assume mission-oriented] Let's start by talking about where Pages fit into the mission of Facebook. Then we'll cover some relevant metrics, identify which are most important for measuring the success of Pages, and then talk about some trade-offs as part of a final recommendation. Mission: Facebook's mission is to empower people to build community and to bring people closer togeth"See full answer

    Execution
    Product Design
    +1 more
  • Google logoAsked at Google 
    +2

    "Clarifying questions: Why are we fixing the roads? Is it due to temporary damage or something structural has gone wrong? What is our purpose behind fixing the roads? Increase mobility in an area? Reduce inequality? reduce crime? Assumptions: Roads have had temporary damage due to rain / storm We know the specific roads which are bad and will need to be fixed Want to increase commercial traffic. Want people to visit a specific area which has bad roads and slow moving traffic. W"

    Prateek S. - "Clarifying questions: Why are we fixing the roads? Is it due to temporary damage or something structural has gone wrong? What is our purpose behind fixing the roads? Increase mobility in an area? Reduce inequality? reduce crime? Assumptions: Roads have had temporary damage due to rain / storm We know the specific roads which are bad and will need to be fixed Want to increase commercial traffic. Want people to visit a specific area which has bad roads and slow moving traffic. W"See full answer

    Technical Program Manager
    Program Sense
    +2 more
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • +13

    "The unique id is not clear in this question"

    Anonymous Possum - "The unique id is not clear in this question"See full answer

    Coding
    SQL
  • Microsoft logoAsked at Microsoft 
    Video answer for 'Tell me about a time you built up a technical champion.'
    Solutions Architect
    Behavioral
    +1 more
  • Meta (Facebook) logoAsked at Meta (Facebook) 

    "Messed up, tried to jam the newsfeed design into commenting - Epic fail!"

    Deepak B. - "Messed up, tried to jam the newsfeed design into commenting - Epic fail!"See full answer

    Engineering Manager
    System Design
    +2 more
  • +1

    "Firstly, I would like to be in a room with all the stakeholders (tech/business) and the decision makers. Now starts the analysis of the situation. Certain questions that I will be looking for an answer are- Is this a new issue? or an old one? What is the severity and priority of the feature in the release? In terms of business values. How long would it take the engineering team to fix the issue? Can we manage for a workaround meanwhile the issue gets fixed? What are the risks inv"

    Shreya S. - "Firstly, I would like to be in a room with all the stakeholders (tech/business) and the decision makers. Now starts the analysis of the situation. Certain questions that I will be looking for an answer are- Is this a new issue? or an old one? What is the severity and priority of the feature in the release? In terms of business values. How long would it take the engineering team to fix the issue? Can we manage for a workaround meanwhile the issue gets fixed? What are the risks inv"See full answer

    Behavioral
    Analytical
    +1 more
  • Capital One logoAsked at Capital One 
    +1

    "I responded how capital one wants to help everyone have access to banking and change banking for the better for all. (Tying it to their mission statement) Leaned into this saying how I personally want to use my use my skills to help increase awareness to financial health for the community and serve the community that im a part of."

    Anonymous Hummingbird - "I responded how capital one wants to help everyone have access to banking and change banking for the better for all. (Tying it to their mission statement) Leaned into this saying how I personally want to use my use my skills to help increase awareness to financial health for the community and serve the community that im a part of."See full answer

    Product Manager
    Behavioral
  • +1

    "It depends on how computers are distributed. Are they located within same network (behind same switch or router) or distributed across globally? Also, it depends upon if there are any security related encryption or decryption algorithms being executed. Similarly, there are so many factors involved in it. However, if a system is highly responsive then this time might be less than 1 second. For example, any google search responds in less than 1 sec. It is an interesting question and I am eager t"

    Rashmi T. - "It depends on how computers are distributed. Are they located within same network (behind same switch or router) or distributed across globally? Also, it depends upon if there are any security related encryption or decryption algorithms being executed. Similarly, there are so many factors involved in it. However, if a system is highly responsive then this time might be less than 1 second. For example, any google search responds in less than 1 sec. It is an interesting question and I am eager t"See full answer

    System Design
    Technical
  • "Use Normalization when: When using pixel values (0-255) into a Neural Network. ➔ Normalize the data between [0,1] to avoid huge input values that could slow down training. When using k-Nearest Neighbors (kNN) or K-Means Clustering. ➔ Because distance metrics like Euclidean distance are highly sensitive to magnitude differences. You are building a Recommender System using Cosine Similarity.➔ Cosine similarity needs data to be unit norm. Use **Sta"

    Abhinav J. - "Use Normalization when: When using pixel values (0-255) into a Neural Network. ➔ Normalize the data between [0,1] to avoid huge input values that could slow down training. When using k-Nearest Neighbors (kNN) or K-Means Clustering. ➔ Because distance metrics like Euclidean distance are highly sensitive to magnitude differences. You are building a Recommender System using Cosine Similarity.➔ Cosine similarity needs data to be unit norm. Use **Sta"See full answer

    Statistics & Experimentation
  • "Lyft’s mission: To become the world’s best transportation company CQ: · Region: USA · Metrics to improve: Engagement User persona: · Passengers · Drivers Will consider passengers persona for this case. Use case / pain points: Exact pick up location is not visible on the map Not able to communicate exact location to the driver due to unknown location How to change the pick-up location in case passenger has to move around Features: Passenger can share a pictur"

    Kena K. - "Lyft’s mission: To become the world’s best transportation company CQ: · Region: USA · Metrics to improve: Engagement User persona: · Passengers · Drivers Will consider passengers persona for this case. Use case / pain points: Exact pick up location is not visible on the map Not able to communicate exact location to the driver due to unknown location How to change the pick-up location in case passenger has to move around Features: Passenger can share a pictur"See full answer

    Product Manager
    Execution
    +1 more
  • Google logoAsked at Google 
    +8

    "Clarifying questions: Should I include the tail of the helicopter when computing the area for this question? Can I assume that the average ping pong ball has a radius of around 1 inch? Assumption: Assume that the helicopter is more circular than a rectangle. Hence use the formula of a circle in computing the area. Assume that the helicopter's radius is 5 feet a 6 feet person can't stand on the helicopter because they're tall for it hence rounding down. Assume that th"

    Shreejal L. - "Clarifying questions: Should I include the tail of the helicopter when computing the area for this question? Can I assume that the average ping pong ball has a radius of around 1 inch? Assumption: Assume that the helicopter is more circular than a rectangle. Hence use the formula of a circle in computing the area. Assume that the helicopter's radius is 5 feet a 6 feet person can't stand on the helicopter because they're tall for it hence rounding down. Assume that th"See full answer

    Product Manager
    Estimation
  • "Let's split the experience in four parts: Time between order is placed and order is waiting to be prepped by the shopper. Time between order is prepped by the shopper and ready to be picked by the driver. Time when it's out for delivery. Post delivery experience. Now lets think through what can do wrong? How do we define wrong? A wrong would be anything where a customer has a negative experience. Let's dive into the when things could potentially go wrong. **order is placed and"

    Pree M. - "Let's split the experience in four parts: Time between order is placed and order is waiting to be prepped by the shopper. Time between order is prepped by the shopper and ready to be picked by the driver. Time when it's out for delivery. Post delivery experience. Now lets think through what can do wrong? How do we define wrong? A wrong would be anything where a customer has a negative experience. Let's dive into the when things could potentially go wrong. **order is placed and"See full answer

    Product Manager
    Execution
    +2 more
  • +6

    "I might be missing something but the solution, seems to be incorrect. ... , post_pairings AS ( SELECT ps.user_id, ps.postseqid AS failpostid, ps.postseqid + 1 AS nextpostid FROM post_seq AS ps WHERE ps.issuccessfulpost IS TRUE ) -- here ps.issuccessfulpost IS TRUE the condition should be FALSE -- in that way ps.postseqid is the actual failed post(failpostid) -- Additionally, at the end the join is assumming that the sequence id is going to match the post_id, wh"

    Jaime A. - "I might be missing something but the solution, seems to be incorrect. ... , post_pairings AS ( SELECT ps.user_id, ps.postseqid AS failpostid, ps.postseqid + 1 AS nextpostid FROM post_seq AS ps WHERE ps.issuccessfulpost IS TRUE ) -- here ps.issuccessfulpost IS TRUE the condition should be FALSE -- in that way ps.postseqid is the actual failed post(failpostid) -- Additionally, at the end the join is assumming that the sequence id is going to match the post_id, wh"See full answer

    Coding
    SQL
  • "not able to understand the accent of the candidate"

    Akash A. - "not able to understand the accent of the candidate"See full answer

    Data Modeling
  • Product Manager
    Product Design
  • +4

    "I own a Google Home and use it everyday. To clarify the question, are we talking about a hardware feature or pure software feature? I assume it can be either. My approach: What is the vision or mission of Google Home? What does good look like? Which KPIs do we want to optimize? Who are the top target segments? What are their pain points or needs that are not met today by Google Home? Let's brainstorm potential game features that can address those needs. Evaluate if we ha"

    Vince T. - "I own a Google Home and use it everyday. To clarify the question, are we talking about a hardware feature or pure software feature? I assume it can be either. My approach: What is the vision or mission of Google Home? What does good look like? Which KPIs do we want to optimize? Who are the top target segments? What are their pain points or needs that are not met today by Google Home? Let's brainstorm potential game features that can address those needs. Evaluate if we ha"See full answer

    Product Strategy
  • "I would conduct a sample z-test because we have enough samples and the population variance is known. H1: average monthly spending per user is $50 H0: average monthly spending per user is greater $50 One-sample z-test x_bar = $85 mu = $50 s = $20 n = 100 x_bar - mu / (s / sqrt(n) = 17.5 17.5 is the z-score that we will need to associate with its corresponding p-value. However, the z-score is very high, so the p-value will be very close to zero, which is much less than the standa"

    Lucas G. - "I would conduct a sample z-test because we have enough samples and the population variance is known. H1: average monthly spending per user is $50 H0: average monthly spending per user is greater $50 One-sample z-test x_bar = $85 mu = $50 s = $20 n = 100 x_bar - mu / (s / sqrt(n) = 17.5 17.5 is the z-score that we will need to associate with its corresponding p-value. However, the z-score is very high, so the p-value will be very close to zero, which is much less than the standa"See full answer

    Data Scientist
    Statistics & Experimentation
Showing 1201-1220 of 3984