Skip to main content

Interview Questions

Review this list of 4,415 interview questions and answers verified by hiring managers and candidates.
  • Adobe logoAsked at Adobe 
    Video answer for 'Generate Parentheses'
    +8

    " O(n) time from typing import List def generate_parentheses(n: int): res = [] def generate(buf, opened, closed): if len(buf) == 2 * n: if n != 0: res.append(buf) return if opened < n: generate( buf + "(", opened + 1, closed) if closed < opened: generate(buf + ")", opened, closed + 1) generate("", 0, 0) return res debug your code below print(generate_parentheses(1"

    Rick E. - " O(n) time from typing import List def generate_parentheses(n: int): res = [] def generate(buf, opened, closed): if len(buf) == 2 * n: if n != 0: res.append(buf) return if opened < n: generate( buf + "(", opened + 1, closed) if closed < opened: generate(buf + ")", opened, closed + 1) generate("", 0, 0) return res debug your code below print(generate_parentheses(1"See full answer

    Software Engineer
    Data Structures & Algorithms
    +3 more
  • +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
  • Stripe logoAsked at Stripe 

    "TCP server/client to facilitate high throughput of incoming metrics.(This is the standard used in the industry by Datadog etc). NoSQL or timeseries database for storing metrics. Timeseries databases are better for aggregating metrics in a given time period. REST API for serving metrics data to visualization frontend."

    Abhi R. - "TCP server/client to facilitate high throughput of incoming metrics.(This is the standard used in the industry by Datadog etc). NoSQL or timeseries database for storing metrics. Timeseries databases are better for aggregating metrics in a given time period. REST API for serving metrics data to visualization frontend."See full answer

    Software Engineer
    System Design
  • "MOD = 10**9 + 7 def max_stability(reliability, availability): max_stability = 1 for r, a in zip(reliability, availability): Compute stability of the current server stability = r * a if stability != 0: Multiply into max_stability and take modulo maxstability = (maxstability * stability) % MOD return max_stability reliability = [1, 2, 2] availability = [1, 1, 3] print(max_stability(reliability, availability)) # Output the result mo"

    K.nithish K. - "MOD = 10**9 + 7 def max_stability(reliability, availability): max_stability = 1 for r, a in zip(reliability, availability): Compute stability of the current server stability = r * a if stability != 0: Multiply into max_stability and take modulo maxstability = (maxstability * stability) % MOD return max_stability reliability = [1, 2, 2] availability = [1, 1, 3] print(max_stability(reliability, availability)) # Output the result mo"See full answer

    Software Engineer
    Coding
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • DoorDash logoAsked at DoorDash 

    "Clarification Question: What kind of revenue is Target trying to increase? ( Gross Revenue, Net Revenue .. etc ) Answer: Let's stick to Gross revenue. As I understand, the target has two revenue streams - In-store and online purchases. Are there any other revenue streams I should consider? Answer: No Why Now ?. Answer: we have seen our revenue being impacted due to competition from Amazon and Walmart, and our revenue is flat. Which revenue stream do you see a decline, increase, or flat?"

    Navin T. - "Clarification Question: What kind of revenue is Target trying to increase? ( Gross Revenue, Net Revenue .. etc ) Answer: Let's stick to Gross revenue. As I understand, the target has two revenue streams - In-store and online purchases. Are there any other revenue streams I should consider? Answer: No Why Now ?. Answer: we have seen our revenue being impacted due to competition from Amazon and Walmart, and our revenue is flat. Which revenue stream do you see a decline, increase, or flat?"See full answer

    Product Manager
    Product Strategy
  • Google logoAsked at Google 
    Video answer for 'Should Apple enter the modular phone market?'
    +14

    "I love the answer and framework, my summary of the interview: it is a slightly modified version of Porter's 5 Forces: User benefit -> Bargaining Power of Buyers Apple benefit -> Talks about the company mission and culture (esp. on the relatively closed eco-system) It was expanded more in the latter half of the interview (SWOT + a bit of Value Chain) Competitive landscape -> Industry Rivalry + Threat of New Entrants + Threat of Substitutes Partnership Impact -> Bargaining Power of"

    Dan D. - "I love the answer and framework, my summary of the interview: it is a slightly modified version of Porter's 5 Forces: User benefit -> Bargaining Power of Buyers Apple benefit -> Talks about the company mission and culture (esp. on the relatively closed eco-system) It was expanded more in the latter half of the interview (SWOT + a bit of Value Chain) Competitive landscape -> Industry Rivalry + Threat of New Entrants + Threat of Substitutes Partnership Impact -> Bargaining Power of"See full answer

    Product Strategy
  • "First, let's align the Airbnb homepage with Airbnb's mission. Airbnb's mission is to "create a world where anyone can belong anywhere by providing healthy travel that is local, authentic, diverse, inclusive and sustainable." The homepage serves as the primary entry point for both potential guests and hosts, setting the stage for their journey and embodying this mission. Now, for the goals of Airbnb homepage, we can consider different aspects like awareness, engagement, and ultimately, driving bo"

    Rohit K. - "First, let's align the Airbnb homepage with Airbnb's mission. Airbnb's mission is to "create a world where anyone can belong anywhere by providing healthy travel that is local, authentic, diverse, inclusive and sustainable." The homepage serves as the primary entry point for both potential guests and hosts, setting the stage for their journey and embodying this mission. Now, for the goals of Airbnb homepage, we can consider different aspects like awareness, engagement, and ultimately, driving bo"See full answer

    Product Manager
    Analytical
  • LinkedIn logoAsked at LinkedIn 
    +5

    "Clarifying questions: What is the motivation for Airbnb to consider entering furniture space? Assumption: Data suggests the quality & type of furniture has a direct impact on guests’ Airbnb experience. Many hosts are also converting their Airbnb’s into full-time businesses, so there is a revenue opportunity here while improving the experience. Is Airbnb looking to feature furniture listings on Airbnb.com? It’s still TBD. We want to know if it’s a good idea first. Are there any other g"

    Ankit J. - "Clarifying questions: What is the motivation for Airbnb to consider entering furniture space? Assumption: Data suggests the quality & type of furniture has a direct impact on guests’ Airbnb experience. Many hosts are also converting their Airbnb’s into full-time businesses, so there is a revenue opportunity here while improving the experience. Is Airbnb looking to feature furniture listings on Airbnb.com? It’s still TBD. We want to know if it’s a good idea first. Are there any other g"See full answer

    Product Strategy
  • Google logoAsked at Google 
    +1

    "What can be a camera ? point and shoot camera - to capture events Video camera - to record events Surveillance camera - cctv camera to monitor movements Elderly above 65 (male and female) with or without any medical condition Elderly can be tech-savvy but majority would be non-tech savvy. We can also further look to segment this customer base as elderly who are Living with their Children Living in foster care Living alone For the moment , i would restrict the geo"

    Max V. - "What can be a camera ? point and shoot camera - to capture events Video camera - to record events Surveillance camera - cctv camera to monitor movements Elderly above 65 (male and female) with or without any medical condition Elderly can be tech-savvy but majority would be non-tech savvy. We can also further look to segment this customer base as elderly who are Living with their Children Living in foster care Living alone For the moment , i would restrict the geo"See full answer

    Product Manager
    Product Design
  • +2

    "Outliers are data points that significantly deviate from the majority of the data distribution. They can arise due to various reasons, such as measurement errors, natural variability, or rare events. Outliers can distort statistical analyses and machine learning models, making it crucial to detect and handle them properly."

    Cesar F. - "Outliers are data points that significantly deviate from the majority of the data distribution. They can arise due to various reasons, such as measurement errors, natural variability, or rare events. Outliers can distort statistical analyses and machine learning models, making it crucial to detect and handle them properly."See full answer

    Statistics & Experimentation
  • Waymo logoAsked at Waymo 
    +4

    " import pandas as pd def findaveragedistance(gps_data: pd.DataFrame) -> pd.DataFrame: #0. IMPORTANT: get the unordered pairs gpsdata['city1']=gpsdata[['origin','destination']].min(axis=1) gpsdata['city2']=gpsdata[['origin','destination']].max(axis=1) #1. get the mean distance by cities avgdistance=gpsdata.groupby(['city1','city2'], as_index=False)['distance'].mean().round(2) avgdistance.rename(columns={'distance':"averagedistance"}, inplace=True) "

    Sean L. - " import pandas as pd def findaveragedistance(gps_data: pd.DataFrame) -> pd.DataFrame: #0. IMPORTANT: get the unordered pairs gpsdata['city1']=gpsdata[['origin','destination']].min(axis=1) gpsdata['city2']=gpsdata[['origin','destination']].max(axis=1) #1. get the mean distance by cities avgdistance=gpsdata.groupby(['city1','city2'], as_index=False)['distance'].mean().round(2) avgdistance.rename(columns={'distance':"averagedistance"}, inplace=True) "See full answer

    Data Structures & Algorithms
    Coding
    +1 more
  • "To measure the success of the WhatsApp engagement and retention is crucial along with monitiozation. So, i will make sure following metrics:** Daily Active Users (DAU) and Monthly Active Users (MAU): DAU and MAU are critical metrics for understanding the scale and engagement level of the user base. A healthy ratio between DAU and MAU (known as stickiness) indicates strong user retention and habitual use. Message Sent/Received Volume: The volume of messages sent and received is a d"

    Bhuppi S. - "To measure the success of the WhatsApp engagement and retention is crucial along with monitiozation. So, i will make sure following metrics:** Daily Active Users (DAU) and Monthly Active Users (MAU): DAU and MAU are critical metrics for understanding the scale and engagement level of the user base. A healthy ratio between DAU and MAU (known as stickiness) indicates strong user retention and habitual use. Message Sent/Received Volume: The volume of messages sent and received is a d"See full answer

    Product Manager
    Analytical
  • Anthropic logoAsked at Anthropic 
    Software Engineer
    Behavioral
  • Google logoAsked at Google 
    +7

    "Honestly, In addition to having the right expertise and skills required for this job, I am really looking forward to being part of this organisation’s journey. I am really confident that I will really exceed your expectations in achieving both mine and the company’s goals. I have worked with different teams in different capacities, managed a team of engineers successfully from very early part of my career and that has made me a very easy person to work with. I get things done easily. I am passio"

    Piyush D. - "Honestly, In addition to having the right expertise and skills required for this job, I am really looking forward to being part of this organisation’s journey. I am really confident that I will really exceed your expectations in achieving both mine and the company’s goals. I have worked with different teams in different capacities, managed a team of engineers successfully from very early part of my career and that has made me a very easy person to work with. I get things done easily. I am passio"See full answer

    Sales Representative
    Behavioral
    +2 more
  • Amazon logoAsked at Amazon 

    "Modernizing banking legacy systems and applications The modernization process typically involves moving from mainframe-based legacy platforms to solutions based on cloud and other modern digital technologies"

    Teja G. - "Modernizing banking legacy systems and applications The modernization process typically involves moving from mainframe-based legacy platforms to solutions based on cloud and other modern digital technologies"See full answer

    Solutions Architect
    System Design
  • 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
  • Anthropic logoAsked at Anthropic 
    Hardware Engineer
    Behavioral
    +1 more
  • "I've watched all the ML Systems designs interviews and this solution provides a clean baseline for predicting ETA using historical averages, but it falls short of addressing the broader problem of route planning. The system predicts ETA for a given segment and time interval, but it doesn’t explain how to compute the ETA for an entire route or how to integrate this into dynamic path selection. It also lacks depth on handling real-time data, adapting to distribution shift, or reacting to sudden"

    Clayton P. - "I've watched all the ML Systems designs interviews and this solution provides a clean baseline for predicting ETA using historical averages, but it falls short of addressing the broader problem of route planning. The system predicts ETA for a given segment and time interval, but it doesn’t explain how to compute the ETA for an entire route or how to integrate this into dynamic path selection. It also lacks depth on handling real-time data, adapting to distribution shift, or reacting to sudden"See full answer

    Machine Learning
    System Design
Showing 1261-1280 of 4415