Interview Questions

Review this list of 3,984 interview questions and answers verified by hiring managers and candidates.
  • "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
  • Meta (Facebook) logoAsked at Meta (Facebook) 
    Machine Learning Engineer
    System Design
  • Capital One logoAsked at Capital One 

    "when were you asked this? during the product design interview in power day?"

    Pwea S. - "when were you asked this? during the product design interview in power day?"See full answer

    Product Manager
    Product Design
  • Google logoAsked at Google 
    Video answer for 'How many shampoo bottles are sold in the US yearly?'
    +22

    "How many shampoo bottles are sold in the US annually? Assumption: Shampoo for both male and female consumers Population of US (330Mn) Considering 50:50 Urban Rural breakdown Urban: 165Mn Rural: 165Mn Considering only 10% of Rural consumers will be using shampoo, which gives 16.5Mn people Urban: 165Mn Considering 50:50 Male Female breakdown Male: 82.5Mn Male consumers using shampoo: 60% = 49.5Mn Male consumers not using shampoo: 40% = 33Mn Female: 82.5Mn Female consumers using shampoo: 80%"

    Saurao D. - "How many shampoo bottles are sold in the US annually? Assumption: Shampoo for both male and female consumers Population of US (330Mn) Considering 50:50 Urban Rural breakdown Urban: 165Mn Rural: 165Mn Considering only 10% of Rural consumers will be using shampoo, which gives 16.5Mn people Urban: 165Mn Considering 50:50 Male Female breakdown Male: 82.5Mn Male consumers using shampoo: 60% = 49.5Mn Male consumers not using shampoo: 40% = 33Mn Female: 82.5Mn Female consumers using shampoo: 80%"See full answer

    Estimation
  • Google logoAsked at Google 
    +2

    "I have no idea if this would qualify, but I took a different, rather singular approach. Curious and gracious in advance for any and all feedback. My main question is whether this response goes into enough depth with regards to all the content types that Google Map stores, as I chose to focus uniquely on image storage (but am sure to state that clearly before I began): Clarifying questions: global map or US/sectional map? Assume global storage on a single end-user device? Yes consider co"

    John S. - "I have no idea if this would qualify, but I took a different, rather singular approach. Curious and gracious in advance for any and all feedback. My main question is whether this response goes into enough depth with regards to all the content types that Google Map stores, as I chose to focus uniquely on image storage (but am sure to state that clearly before I began): Clarifying questions: global map or US/sectional map? Assume global storage on a single end-user device? Yes consider co"See full answer

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

  • Google logoAsked at Google 
    +5

    "First, I would make the following assumptions to solve this question without instant feedback. Assumptions: The main use cases for the refrigerator will be to maintain food in the right temperature and will not include making ice cubs or pouring water The only disability of the user is blindness Then, I would identify the main flows used when maintaining food refrigerated, which are: Putting food into the fridge Taking out food out of the fridge Within these flow these are som"

    Maritza C. - "First, I would make the following assumptions to solve this question without instant feedback. Assumptions: The main use cases for the refrigerator will be to maintain food in the right temperature and will not include making ice cubs or pouring water The only disability of the user is blindness Then, I would identify the main flows used when maintaining food refrigerated, which are: Putting food into the fridge Taking out food out of the fridge Within these flow these are som"See full answer

    Product Manager
    Product Design
  • "def mostefficientseqscore(parentheses, efficiencyratings): mes = [] for i in range(len(parentheses)): mes.append((parentheses[i], max(efficiency_ratings[i])) return sum([m[1] for m in mes]) `"

    Nathan C. - "def mostefficientseqscore(parentheses, efficiencyratings): mes = [] for i in range(len(parentheses)): mes.append((parentheses[i], max(efficiency_ratings[i])) return sum([m[1] for m in mes]) `"See full answer

    Software Engineer
    Coding
  • "Is there a reason a confidence interval was used to solve this problem over just using the mean/expected value directly?"

    Aarav G. - "Is there a reason a confidence interval was used to solve this problem over just using the mean/expected value directly?"See full answer

    Data Scientist
    Statistics & Experimentation
  • +16

    "SELECT u.user_id, u.user_name, u.email, ROUND(AVG(CASE WHEN b.status = 'Unmatched' THEN 1.0 ELSE 0 END), 2) AS avgunmatchedbookings FROM users u LEFT JOIN bookings b ON u.userid = b.userid GROUP BY u.user_id, u.user_name, u.email; `"

    Akshay D. - "SELECT u.user_id, u.user_name, u.email, ROUND(AVG(CASE WHEN b.status = 'Unmatched' THEN 1.0 ELSE 0 END), 2) AS avgunmatchedbookings FROM users u LEFT JOIN bookings b ON u.userid = b.userid GROUP BY u.user_id, u.user_name, u.email; `"See full answer

    Coding
    SQL
  • "Clarifying Questions and Assumption: It is a Online store or a offline store ? Assuming it is an online store There would be multiple processes, for which process the CSAT score needs to be increased ? Assuming the CSAT score needs to be increased for product search & checkout process. Does this required for Mobile App or Website ? assuming mobile app Mission & goal: CSAT score of online search process for Costco needs to be increased. User personas: Working profession"

    Brajendra S. - "Clarifying Questions and Assumption: It is a Online store or a offline store ? Assuming it is an online store There would be multiple processes, for which process the CSAT score needs to be increased ? Assuming the CSAT score needs to be increased for product search & checkout process. Does this required for Mobile App or Website ? assuming mobile app Mission & goal: CSAT score of online search process for Costco needs to be increased. User personas: Working profession"See full answer

    Product Manager
    Product Strategy
  • LinkedIn logoAsked at LinkedIn 
    Video answer for 'Design a communication app for children.'

    "INTERVIEWER: Design a communication app for children ME: GOAL: What are the business goals for this initiative? INTERVIEWER: Please assume. ME: Goals could be to* *improve communication skills/ communicate with classmates/friends better/enter a new market/empower children with disability to communicate better/etc. I’ll assume that the goal here is to enable children to communicate and engage better with their classmates since I have personally seen my niece and nephew (17 a"

    Priya T. - "INTERVIEWER: Design a communication app for children ME: GOAL: What are the business goals for this initiative? INTERVIEWER: Please assume. ME: Goals could be to* *improve communication skills/ communicate with classmates/friends better/enter a new market/empower children with disability to communicate better/etc. I’ll assume that the goal here is to enable children to communicate and engage better with their classmates since I have personally seen my niece and nephew (17 a"See full answer

    Product Design
  • TikTok logoAsked at TikTok 

    "First, let me clarify a few points to ensure I understand the scope of the case study correctly: • Scope of Resources and Timeline: Are there any constraints on resources or timeline we should consider, or can we assume unlimited resources for this project? • Target Market: Is this tool aimed at a global market or specific regions? • Integration: Should the tool integrate with existing TikTok Shop features, or are we developing a standalone solution? • Technological Capabilities: Are there s"

    Vihari K. - "First, let me clarify a few points to ensure I understand the scope of the case study correctly: • Scope of Resources and Timeline: Are there any constraints on resources or timeline we should consider, or can we assume unlimited resources for this project? • Target Market: Is this tool aimed at a global market or specific regions? • Integration: Should the tool integrate with existing TikTok Shop features, or are we developing a standalone solution? • Technological Capabilities: Are there s"See full answer

    Product Manager
    Product Design
  • Adobe logoAsked at Adobe 
    +20

    "def reverseString(s): chars = list(s) l, r = 0, len(s) - 1 while l < r: chars[l], chars[r] = chars[r], chars[l] l += 1 r -= 1 reversed_str = "".join(chars) return reversed_str `"

    Erjan G. - "def reverseString(s): chars = list(s) l, r = 0, len(s) - 1 while l < r: chars[l], chars[r] = chars[r], chars[l] l += 1 r -= 1 reversed_str = "".join(chars) return reversed_str `"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • "Product Bugs can be categorised by severity associated with them. Product Roadmap prioritization happens by MuSCoW technique, or WSJF for big ticket items. Suggestions from Leadership normally fall in expedited bucket. Overall, if there's a Scrum way of executing all priorities, then the PO and Team get together to decide the scope of the sprints for execution."

    Anonymous Salmon - "Product Bugs can be categorised by severity associated with them. Product Roadmap prioritization happens by MuSCoW technique, or WSJF for big ticket items. Suggestions from Leadership normally fall in expedited bucket. Overall, if there's a Scrum way of executing all priorities, then the PO and Team get together to decide the scope of the sprints for execution."See full answer

    Product Manager
    Execution
    +1 more
  • +4

    "CQs Restaurants - brick and mortar only, cloud kitchens are not included Movable/unorganized ones are also not included. Bangalore city only, suburbans are not included. Approaches Demand - N number of people eats out Y types of food Z times a week - how many restaurants are required to fulfill their need. Supply/Positioning - There are X type of zones where there are A,B,C number of restaurants (∑ Popular brands x avg # of outlets) x 100 / % mar"

    Sumit P. - "CQs Restaurants - brick and mortar only, cloud kitchens are not included Movable/unorganized ones are also not included. Bangalore city only, suburbans are not included. Approaches Demand - N number of people eats out Y types of food Z times a week - how many restaurants are required to fulfill their need. Supply/Positioning - There are X type of zones where there are A,B,C number of restaurants (∑ Popular brands x avg # of outlets) x 100 / % mar"See full answer

    Product Manager
    Estimation
  • +1

    "Clarifying question: Am I the first one to notice the fire, or there are people already on it? Extent and source of fire - I am assuming it's localized and I am inside the data center, safe so far. Response: It is an emergency. I will do and coordinate the people to do the following in parallel, if I am the first one to know. Get immediate attention of folks in the data center. Get someone and many people to call 911 and security. Coordinate to have people in need evacuated. Turn off th"

    Bg - "Clarifying question: Am I the first one to notice the fire, or there are people already on it? Extent and source of fire - I am assuming it's localized and I am inside the data center, safe so far. Response: It is an emergency. I will do and coordinate the people to do the following in parallel, if I am the first one to know. Get immediate attention of folks in the data center. Get someone and many people to call 911 and security. Coordinate to have people in need evacuated. Turn off th"See full answer

    Technical
  • Google logoAsked at Google 
    +9

    "By increasing the number of paid users, I assume we mean that we want to increase the % of DAUs who pay for YT Music. First, we need to understand the Youtube Music play here. Youtube Music was carved out of Youtube because Spotify and Apple Music were getting popular. Users were listening to music on Spotify instead of on Youtube, threatening ad revenue for Youtube. Therefore, Youtube Music was born as a standalone app, where users could listen to the music ad free from anywhere anytime. In"

    Priyansh J. - "By increasing the number of paid users, I assume we mean that we want to increase the % of DAUs who pay for YT Music. First, we need to understand the Youtube Music play here. Youtube Music was carved out of Youtube because Spotify and Apple Music were getting popular. Users were listening to music on Spotify instead of on Youtube, threatening ad revenue for Youtube. Therefore, Youtube Music was born as a standalone app, where users could listen to the music ad free from anywhere anytime. In"See full answer

    Program Sense
    Product Strategy
  • Accenture logoAsked at Accenture 
    Video answer for 'Design an AI data product.'
    +2

    "Understand the business problem: Identify the business problem that the AI data product is intended to solve. Identify the target audience: Understand who will be using the data and what problem they will be solving for using the data. This will inform the features and functionality that should be included in the product. Gather and preprocess the data: Collect and preprocess the data that is relevant to the problem that it is being solved for. This will inform the AI algorithm"

    M D. - "Understand the business problem: Identify the business problem that the AI data product is intended to solve. Identify the target audience: Understand who will be using the data and what problem they will be solving for using the data. This will inform the features and functionality that should be included in the product. Gather and preprocess the data: Collect and preprocess the data that is relevant to the problem that it is being solved for. This will inform the AI algorithm"See full answer

    Data Analyst
    System Design
    +1 more
  • Amazon logoAsked at Amazon 
    Video answer for 'How do you consider your impact on the world as an engineering manager?'
    +4

    "I really appreciate how he clearly explains every term he uses!"

    Ilnur I. - "I really appreciate how he clearly explains every term he uses!"See full answer

    Engineering Manager
    Behavioral
Showing 641-660 of 3984