"I've worked on projects not quite like this, but very similar, in the past - I'll borrow from that to answer this:
The Broader Context
this problem doesn't specify the type of data we're working with, or how it's being ingested
to align with my personal background, I'll assume a picture that lends this problem well to being a computer vision (abbreviated "CV") related question:
let's say we have a conveyor belt in a waste facility, which sequentially carries a stream of waste
w"
Zain R. - "I've worked on projects not quite like this, but very similar, in the past - I'll borrow from that to answer this:
The Broader Context
this problem doesn't specify the type of data we're working with, or how it's being ingested
to align with my personal background, I'll assume a picture that lends this problem well to being a computer vision (abbreviated "CV") related question:
let's say we have a conveyor belt in a waste facility, which sequentially carries a stream of waste
w"See full answer
"Aim of compression is to reduce the file size and bandwidth consumed in transmission in order to preserve the quality of the image or text as experienced by the consumer/user.
Text compression typically uses a library to act as a key for words, either words that repeat in the same document or words that are commonly presented in all documents. And maybe even word parts.
Key points are that 1. it tends not to be lossy, 2. is simple/fast/consumes relatively little memory, 3. is pretty standard"
Raymond W. - "Aim of compression is to reduce the file size and bandwidth consumed in transmission in order to preserve the quality of the image or text as experienced by the consumer/user.
Text compression typically uses a library to act as a key for words, either words that repeat in the same document or words that are commonly presented in all documents. And maybe even word parts.
Key points are that 1. it tends not to be lossy, 2. is simple/fast/consumes relatively little memory, 3. is pretty standard"See full answer
"Based on the required significance level (usually less than 5%) and based on the test power (usually 95%?), I will calculate the required sample size. Once I get the sample size, then I will do the A/B testing until I meet the sample size."
Naga M. - "Based on the required significance level (usually less than 5%) and based on the test power (usually 95%?), I will calculate the required sample size. Once I get the sample size, then I will do the A/B testing until I meet the sample size."See full answer
"Clarification - How is this feature accessed by users? Is it part of the camera app or after taking the photo or both? Assume both. Is bulk upload possible? Yes
Goal - Drive engagement with this feature so Pixel owners upload more pictures to google photos
Actions that support this goal of engagement with this feature:
Click upload right after taking a photo from camera.
Take a stored picture from saved photos and click upload for it
Select multiple photos from saved photos and click u"
Sarabjeet S. - "Clarification - How is this feature accessed by users? Is it part of the camera app or after taking the photo or both? Assume both. Is bulk upload possible? Yes
Goal - Drive engagement with this feature so Pixel owners upload more pictures to google photos
Actions that support this goal of engagement with this feature:
Click upload right after taking a photo from camera.
Take a stored picture from saved photos and click upload for it
Select multiple photos from saved photos and click u"See full answer
"Clarification
Am I the PM for overall Xbox or certain part of the Xbox team?
Interview (I): let's assume you own the overall Xbox product
Are there particular user segments that the MSFT Gaming division is trying to focus on as their strategy?
I: nothing in particular, why don't you tell me where we should focus?
What are some challenges that Xbox have been facing? (ie revenue from xbox hardware purchase? xbox live subscription purchase? engagement?)
I: nothing in pa"
Mark - "Clarification
Am I the PM for overall Xbox or certain part of the Xbox team?
Interview (I): let's assume you own the overall Xbox product
Are there particular user segments that the MSFT Gaming division is trying to focus on as their strategy?
I: nothing in particular, why don't you tell me where we should focus?
What are some challenges that Xbox have been facing? (ie revenue from xbox hardware purchase? xbox live subscription purchase? engagement?)
I: nothing in pa"See full answer
"I would like to appreciate the company for giving an opportunity to visually impaired colleague and also making appropriate arrangements for enabling them to deliver their responsibilities smoothly. When I become aware of a teammate who is blind, I would start with the following steps -
Understanding the degree of disability they have and doing my own research on how can one interact with such colleagues and facilitate smooth coordination with them
I would approach them and ask as to how c"
Khushboo S. - "I would like to appreciate the company for giving an opportunity to visually impaired colleague and also making appropriate arrangements for enabling them to deliver their responsibilities smoothly. When I become aware of a teammate who is blind, I would start with the following steps -
Understanding the degree of disability they have and doing my own research on how can one interact with such colleagues and facilitate smooth coordination with them
I would approach them and ask as to how c"See full answer
"A great answer will:
Lay out the mission of facebook and how reactions relate to it (FB mission is to connect people, FB app has posts that make up a feed, reactions enable more engagement with posts
Describe the benefits of reactions for users (less friction to engage) and for FB (more user engagement with posts which helps viewer and poster, improve newsfeed algo)
Notice that you can evaluate demand for a 7th reaction by looking at posts with a high ratio of comments to reactions, and ma"
Robbie A. - "A great answer will:
Lay out the mission of facebook and how reactions relate to it (FB mission is to connect people, FB app has posts that make up a feed, reactions enable more engagement with posts
Describe the benefits of reactions for users (less friction to engage) and for FB (more user engagement with posts which helps viewer and poster, improve newsfeed algo)
Notice that you can evaluate demand for a 7th reaction by looking at posts with a high ratio of comments to reactions, and ma"See full answer
"Not my answer, but rather the details of this question. It should include the following functions:
int insertNewCustomer(double revenue) -> returns a customer ID (assume auto-incremented & 0-based)
int insertNewCustomer(double revenue, int referrerID) -> returns a customer ID (assume auto-incremented & 0-based)
Set getLowestKCustomersByMinTotalRevenue(int k, double minTotalRevenue) -> returns customer IDs
Note: The total revenue consists of the revenue that this customer bring"
Anzhe M. - "Not my answer, but rather the details of this question. It should include the following functions:
int insertNewCustomer(double revenue) -> returns a customer ID (assume auto-incremented & 0-based)
int insertNewCustomer(double revenue, int referrerID) -> returns a customer ID (assume auto-incremented & 0-based)
Set getLowestKCustomersByMinTotalRevenue(int k, double minTotalRevenue) -> returns customer IDs
Note: The total revenue consists of the revenue that this customer bring"See full answer
"Assumption: the revenue is on a yearly basis.
Revenue = No. of users x price of product x frequency of purchase x size of purchase
Product of Google Map = Ads by the merchants
To double the revenue,
Boost the number of merchants by reaching out to them
Increase the price of ads (which is not ideal since it will disincentivise some merchants)
Increase the frequency of their purchase in a year (Eg. previously merchants just put ads in Google Map for 6 years and now we can encourage"
Lee J. - "Assumption: the revenue is on a yearly basis.
Revenue = No. of users x price of product x frequency of purchase x size of purchase
Product of Google Map = Ads by the merchants
To double the revenue,
Boost the number of merchants by reaching out to them
Increase the price of ads (which is not ideal since it will disincentivise some merchants)
Increase the frequency of their purchase in a year (Eg. previously merchants just put ads in Google Map for 6 years and now we can encourage"See full answer
"Let’s pick SFO (because it's a stupid choice.. probably easier if you pick a smaller airport)
We know each passenger has to go through the scan at least once
We can assume 10% of passengers go through twice
People only go through scans when they depart but not when they arrive
International planes are bigger so carry more people so need to calculate separately
Approach
Estimate how many gates there are
Estimate airport operation hours
Estimate the numbe"
Jax H. - "Let’s pick SFO (because it's a stupid choice.. probably easier if you pick a smaller airport)
We know each passenger has to go through the scan at least once
We can assume 10% of passengers go through twice
People only go through scans when they depart but not when they arrive
International planes are bigger so carry more people so need to calculate separately
Approach
Estimate how many gates there are
Estimate airport operation hours
Estimate the numbe"See full answer
"Assumption US, not global. Two categories of masks: washable/reusable (cloth based) and disposable (surgical and N95)
US population is about 300 million
100M households
3 per households**
Cloth: on average 2 masks needed per person so they can wash it (2*3=6 masks per HH)
100M*6 = 600M cloth masks
Disposable: of the 300M, assuming about 60% is essential workers. So about 300M*.6=180M are essential workers. Of the 180M, I would say abo"
Anonymous Moose - "Assumption US, not global. Two categories of masks: washable/reusable (cloth based) and disposable (surgical and N95)
US population is about 300 million
100M households
3 per households**
Cloth: on average 2 masks needed per person so they can wash it (2*3=6 masks per HH)
100M*6 = 600M cloth masks
Disposable: of the 300M, assuming about 60% is essential workers. So about 300M*.6=180M are essential workers. Of the 180M, I would say abo"See full answer
"I prefer to build a team of complementary skills than being skewed on one aspect. And generally avoid an all rockstar team.
Technically, this means we will have atleast one rockstar for one skill and it is acceptable if that rockstar is just an avg performer on other skills
Which person gets indexed more on which skill is a time to time exercise depending on needs of the org, product charter and career aspirations of the person."
RestlessMonk - "I prefer to build a team of complementary skills than being skewed on one aspect. And generally avoid an all rockstar team.
Technically, this means we will have atleast one rockstar for one skill and it is acceptable if that rockstar is just an avg performer on other skills
Which person gets indexed more on which skill is a time to time exercise depending on needs of the org, product charter and career aspirations of the person."See full answer
"Firstly, I would need to ask some clarifying questions:
What is the goal for this app? Is it for purely education purposes or it is for improving grades?
What age of kids are we talking about? Assuming most parts of the world kids go to kindergarten at age of 5. I am assuming we can have a few segments here. From ages 3-6 or ages 7-12.
What country is this for, or it is for global?
I would assume the following since nobody is replying in this case:
The goal is for improving grades"
Lewis G. - "Firstly, I would need to ask some clarifying questions:
What is the goal for this app? Is it for purely education purposes or it is for improving grades?
What age of kids are we talking about? Assuming most parts of the world kids go to kindergarten at age of 5. I am assuming we can have a few segments here. From ages 3-6 or ages 7-12.
What country is this for, or it is for global?
I would assume the following since nobody is replying in this case:
The goal is for improving grades"See full answer
"Break down into:
OPEX
#Employees x $avg. cost per employee
$Overhead (mktg, legal, compliance)
Content cost (creator payments) 80% of advert. revenue
Elec, cooling, maintenance
CAPEX
#Data centers
Avg servers per data center
Avg. cost $ per server"
James M. - "Break down into:
OPEX
#Employees x $avg. cost per employee
$Overhead (mktg, legal, compliance)
Content cost (creator payments) 80% of advert. revenue
Elec, cooling, maintenance
CAPEX
#Data centers
Avg servers per data center
Avg. cost $ per server"See full answer
"Clarifying Questions:
There are several different types of therapists, do you have a particular therapist in mind?
Like Mental health, physical health, food and nutrition etc?
Reply: You can decide
And do we know what country are we building this product, since that will help me narrow down the scope of the product?
Reply: USA
Approach:
Define the product vision and the goal that we want to achieve
Target Audience is for this particular product
What problems do these user currently"
Darshak S. - "Clarifying Questions:
There are several different types of therapists, do you have a particular therapist in mind?
Like Mental health, physical health, food and nutrition etc?
Reply: You can decide
And do we know what country are we building this product, since that will help me narrow down the scope of the product?
Reply: USA
Approach:
Define the product vision and the goal that we want to achieve
Target Audience is for this particular product
What problems do these user currently"See full answer
"Clarification question: How many subscription plans are offered by Tinder ?
If there is more than one subscription plan, then we need to ask is the fluctuation happening across all plans or in a particular one ?
Assumption: Let's say lower priced subscription plan is showing the most fluctuation and there are only two types of plans
In this subscription plan which age group is showing the most fluctuation (18-24,25-30, 30+ etc) ?
Is there any seasonality trend observed (eg: placemen"
Srijita P. - "Clarification question: How many subscription plans are offered by Tinder ?
If there is more than one subscription plan, then we need to ask is the fluctuation happening across all plans or in a particular one ?
Assumption: Let's say lower priced subscription plan is showing the most fluctuation and there are only two types of plans
In this subscription plan which age group is showing the most fluctuation (18-24,25-30, 30+ etc) ?
Is there any seasonality trend observed (eg: placemen"See full answer
"As engineering managers, it’s our obligation to prioritize and manage technical debt properly. However, achieving the correct mix between reducing technical debt and providing new features while meeting deadlines can be fairly tough.To manage technical debt efficiently, it’s vital to first understand how to detect it inside your projects. One way to do this is by doing regular code reviews and encouraging your team to share any concerns or areas where they feel the codebase may be improved. This"
Scott S. - "As engineering managers, it’s our obligation to prioritize and manage technical debt properly. However, achieving the correct mix between reducing technical debt and providing new features while meeting deadlines can be fairly tough.To manage technical debt efficiently, it’s vital to first understand how to detect it inside your projects. One way to do this is by doing regular code reviews and encouraging your team to share any concerns or areas where they feel the codebase may be improved. This"See full answer