" First, sort the array in ascending order. This ensures that we can easily check the triangle inequality condition. Use a loop to iterate through the array. For each triplet of consecutive elements, check if they satisfy the triangle inequality condition a+b>ca+b>c. As soon as you find a valid tuple, return it. If no valid tuple is found, return null. This approach is efficient with a time complexity of O(nlogn)O(nlogn) due to the sorting step, followed by a linear scan of the array"
Shivam P. - " First, sort the array in ascending order. This ensures that we can easily check the triangle inequality condition. Use a loop to iterate through the array. For each triplet of consecutive elements, check if they satisfy the triangle inequality condition a+b>ca+b>c. As soon as you find a valid tuple, return it. If no valid tuple is found, return null. This approach is efficient with a time complexity of O(nlogn)O(nlogn) due to the sorting step, followed by a linear scan of the array"See full answer
"Is it bad to get the answer a different way? Will they mark that as not knowing Bayes Theorem or just correct as it is an easier way to get the answer?
The way I went is to look at what happens when the factory makes 100 light bulbs. Machine A makes 60 of which 3 are faulty, Machine B makes 40 of which 1.2 are faulty. Therefore the pool of faulty lightbulbs is 3/4.2 = 5/7 from machine A and 1.2/4.2 = 3/7 from Machine B."
Will I. - "Is it bad to get the answer a different way? Will they mark that as not knowing Bayes Theorem or just correct as it is an easier way to get the answer?
The way I went is to look at what happens when the factory makes 100 light bulbs. Machine A makes 60 of which 3 are faulty, Machine B makes 40 of which 1.2 are faulty. Therefore the pool of faulty lightbulbs is 3/4.2 = 5/7 from machine A and 1.2/4.2 = 3/7 from Machine B."See full answer
"Here's my structure:
Align with interviewer on understanding of the product and state key assumptions
Product rationale
What is the product (1-2 sentences)?
Why does it exist? How does it fulfill Meta's mission?
Who are the key stakeholders and users of the product?
Business goal:
Key Users and value
User type
User flow (high level)
Intersection of value
North Star Metric
Supporting metrics for different user types
Counter-metrics"
Anonymous Bird - "Here's my structure:
Align with interviewer on understanding of the product and state key assumptions
Product rationale
What is the product (1-2 sentences)?
Why does it exist? How does it fulfill Meta's mission?
Who are the key stakeholders and users of the product?
Business goal:
Key Users and value
User type
User flow (high level)
Intersection of value
North Star Metric
Supporting metrics for different user types
Counter-metrics"See full answer
"Clarifying questions I asked?
Are we trying to track any specific type of metric ? Like a Business Metric, Engagement Metric ?
No. In general as a admin of a city at Uber what would you track ?
Okay. (After collecting thoughts)
Revenue from rides per day
No of rides per day in the city
% of drivers completing more than 10 rides/day, 5 rides/day, 1+ ride/day."
Mehul K. - "Clarifying questions I asked?
Are we trying to track any specific type of metric ? Like a Business Metric, Engagement Metric ?
No. In general as a admin of a city at Uber what would you track ?
Okay. (After collecting thoughts)
Revenue from rides per day
No of rides per day in the city
% of drivers completing more than 10 rides/day, 5 rides/day, 1+ ride/day."See full answer
" are we considering ride sharing app or also Uber Eats?
If we are considering Ride sharing app
Uber is successful when a Customer is safely dropped at its selected destination and Uber driver is paid for the drive.
For Uber to be successful in a new city we want to track
Number of completed rides per day/week
Number of customers who came back to the app for another ride after first one was completed.
Number of active drivers per day.
Number of drivers completing at least 1 ride"
Sanjana G. - " are we considering ride sharing app or also Uber Eats?
If we are considering Ride sharing app
Uber is successful when a Customer is safely dropped at its selected destination and Uber driver is paid for the drive.
For Uber to be successful in a new city we want to track
Number of completed rides per day/week
Number of customers who came back to the app for another ride after first one was completed.
Number of active drivers per day.
Number of drivers completing at least 1 ride"See full answer
"Total volume of the swimming pool, let's say it's a standard 50m x 25 m x 2m =2500 m3 = 2.5 million litter
standard water horse water flow rate is 17 liter per min.
So, 2.5 m / 17 =147,059 min"
onering2ruleall - "Total volume of the swimming pool, let's say it's a standard 50m x 25 m x 2m =2500 m3 = 2.5 million litter
standard water horse water flow rate is 17 liter per min.
So, 2.5 m / 17 =147,059 min"See full answer
"Would consider the following factors:
Customer demographic and preferences
Location of the warehouse and what's the local product trends
Seasonality and time of the year for trendy products
Balance of volume and margin products
Supply chain consideration
Competition analysis
Inventory turn over rate
eCommerce aspects of the inventory
Plus the following types:
Essential and groceries
Electronic and entertainment
Apparel and footwear
Home and lifestyle
Seasonal and promo"
onering2ruleall - "Would consider the following factors:
Customer demographic and preferences
Location of the warehouse and what's the local product trends
Seasonality and time of the year for trendy products
Balance of volume and margin products
Supply chain consideration
Competition analysis
Inventory turn over rate
eCommerce aspects of the inventory
Plus the following types:
Essential and groceries
Electronic and entertainment
Apparel and footwear
Home and lifestyle
Seasonal and promo"See full answer
"I’ve spent over 6 years building and scaling e-commerce products across EMEA and APAC.
At Jumia, I led product initiatives on the checkout and payments side. For example, I launched gamified promotions on PDP and checkout that improved engagement and delivered a 2.3x uplift in conversion. I also introduced automated installment payments and order cancellation flows, which not only improved user trust but also reduced complaints by 30% and lowered operational costs.
Before that, at Lazada, I work"
Rajeev K. - "I’ve spent over 6 years building and scaling e-commerce products across EMEA and APAC.
At Jumia, I led product initiatives on the checkout and payments side. For example, I launched gamified promotions on PDP and checkout that improved engagement and delivered a 2.3x uplift in conversion. I also introduced automated installment payments and order cancellation flows, which not only improved user trust but also reduced complaints by 30% and lowered operational costs.
Before that, at Lazada, I work"See full answer