"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
"Problem Statement:
10% of Netflix users are inactive. How would you investigate?
Clarifying Question:
Define inactive users? Assuming these are the users who have not logged Netflix for last week/last month etc
Time span to measure inactive users? Assuming inactive users are inactive from last week.
Investigation Questions:
Has there been a change or error logged on the analytical tool we are measuring "Inactive users" metric?
Does the metric show Netflix inactive"
Satej M. - "Problem Statement:
10% of Netflix users are inactive. How would you investigate?
Clarifying Question:
Define inactive users? Assuming these are the users who have not logged Netflix for last week/last month etc
Time span to measure inactive users? Assuming inactive users are inactive from last week.
Investigation Questions:
Has there been a change or error logged on the analytical tool we are measuring "Inactive users" metric?
Does the metric show Netflix inactive"See full answer
"Clarifying/Assumptions:
Assuming improvement refers to lift in engagement in this case.
Youtube refers to the WWW and mobile platforms.
Key User Segments:
Creators
Influencers/Celebrities
Video bloggers
Regular users
Viewers
Power watchers
Casual watchers
Churned watchers
Selecting the Influencer segment from the above list since it is a smaller volume of users and will have a big impact on viewers. Also, it is easier to understand"
P K. - "Clarifying/Assumptions:
Assuming improvement refers to lift in engagement in this case.
Youtube refers to the WWW and mobile platforms.
Key User Segments:
Creators
Influencers/Celebrities
Video bloggers
Regular users
Viewers
Power watchers
Casual watchers
Churned watchers
Selecting the Influencer segment from the above list since it is a smaller volume of users and will have a big impact on viewers. Also, it is easier to understand"See full answer
"It's fair to assume a tech lead is an experienced person, especially in bigger organizations like Google. How we shape our thought process is part of our past experiences of default nature.
I will first give it some time before I react/respond. I will try to understand the pattern where the tech lead is being devil's advocate. Eg. If he is being negative about PRD everytime, that means he had past experiences where the PRD was incomplete or scope was change;
if is negative about testing scena"
Dewansh Z. - "It's fair to assume a tech lead is an experienced person, especially in bigger organizations like Google. How we shape our thought process is part of our past experiences of default nature.
I will first give it some time before I react/respond. I will try to understand the pattern where the tech lead is being devil's advocate. Eg. If he is being negative about PRD everytime, that means he had past experiences where the PRD was incomplete or scope was change;
if is negative about testing scena"See full answer
"The company culture is very supportive and collaborative. Googlers are encouraged to be creative and innovative, and there is a lot of freedom to explore new ideas.
The work is challenging and rewarding. Googlers have the opportunity to work on cutting-edge projects that have a real impact on the world.
The company is committed to diversity and inclusion. Google is a great place to work for people from all backgrounds and with all different perspectives.
I am confident that I would b"
Praful B. - "The company culture is very supportive and collaborative. Googlers are encouraged to be creative and innovative, and there is a lot of freedom to explore new ideas.
The work is challenging and rewarding. Googlers have the opportunity to work on cutting-edge projects that have a real impact on the world.
The company is committed to diversity and inclusion. Google is a great place to work for people from all backgrounds and with all different perspectives.
I am confident that I would b"See full answer
Software Engineer
Behavioral
+3 more
🧠Want an expert answer to a question? Saving questions lets us know what content to make next.
"First thing the interviewee did wrong is not asking clarifying questions. This is the most vague problem I have every heard, and the interviewee just made assumptions and started programming."
Nicholas S. - "First thing the interviewee did wrong is not asking clarifying questions. This is the most vague problem I have every heard, and the interviewee just made assumptions and started programming."See full answer
"· Listen both sides and without any bias. Support or focus on the problem rather than person. Take necessary steps in case there is middle ground its well and good if both parties agree. If not be honest and support the person who is correct. Ultimate goal is to be useful for overall project and company rather individual satisfaction. The approach should be fit into overall team goal."
BePostive - "· Listen both sides and without any bias. Support or focus on the problem rather than person. Take necessary steps in case there is middle ground its well and good if both parties agree. If not be honest and support the person who is correct. Ultimate goal is to be useful for overall project and company rather individual satisfaction. The approach should be fit into overall team goal."See full answer
"Assumptions
This estimation will not take into consideration service fees, delivery fees, or tips
we are specifically interested in consumer purchases of fruits and vegetables from local grocers (i.e. instacart, peapod, wholefoods/primenow, etc.)
Fresh and frozen produce are in scope
Equation
NYC annual online produce purchases = (Num NYC households) x (% pop. that purchase produce online) x ($ spent on online produce purchases)
(NYC HH) =
300M Americans --> 100M HH"
Kwabena B. - "Assumptions
This estimation will not take into consideration service fees, delivery fees, or tips
we are specifically interested in consumer purchases of fruits and vegetables from local grocers (i.e. instacart, peapod, wholefoods/primenow, etc.)
Fresh and frozen produce are in scope
Equation
NYC annual online produce purchases = (Num NYC households) x (% pop. that purchase produce online) x ($ spent on online produce purchases)
(NYC HH) =
300M Americans --> 100M HH"See full answer
"For self achievement, The product manager builds useful products for users and makes the world better.
For the team, The product manager can work with the team, and leverage the team resources to make things happen, which is more impactful.
For the company, Pm are usually problem solvers, help companies to solve problems and grow better
"
Shen W. - "For self achievement, The product manager builds useful products for users and makes the world better.
For the team, The product manager can work with the team, and leverage the team resources to make things happen, which is more impactful.
For the company, Pm are usually problem solvers, help companies to solve problems and grow better
"See full answer
"No of Cars in 1 year = [ Total Road Length] / [Distance Covered by 1 Self Drive Car in One Year]
Clarifying Question - How does Mapping work? I assume the car has a bunch of cameras and the car needs to go via a road each once to do the mapping for Google Street view. Is that correct?
Assumption
Google Street view required cars to go via road once and then use camera for mapping
Assumption for average speed of the car - This can vary if the car is on the highway
Assumption of Area of"
Raul K. - "No of Cars in 1 year = [ Total Road Length] / [Distance Covered by 1 Self Drive Car in One Year]
Clarifying Question - How does Mapping work? I assume the car has a bunch of cameras and the car needs to go via a road each once to do the mapping for Google Street view. Is that correct?
Assumption
Google Street view required cars to go via road once and then use camera for mapping
Assumption for average speed of the car - This can vary if the car is on the highway
Assumption of Area of"See full answer
"My approach is try to narrow down by 4W1H.
When - When this happened? Still continuously happen the problem?
Where - Is this happen specific region or entire customers?
What - What kind of problem? One time big error or any data show the curve?
Who - Is it all platform or specific platform (Web, iOS, Android)
How - How serious problem? How many customer affected?
Next step is to narrow down the causes is from internal factors or external factors.
For internal factors:
Any recent up"
Takashi M. - "My approach is try to narrow down by 4W1H.
When - When this happened? Still continuously happen the problem?
Where - Is this happen specific region or entire customers?
What - What kind of problem? One time big error or any data show the curve?
Who - Is it all platform or specific platform (Web, iOS, Android)
How - How serious problem? How many customer affected?
Next step is to narrow down the causes is from internal factors or external factors.
For internal factors:
Any recent up"See full answer
"Clarifying Questions and possible responses:
both audio and video
goals: increase engagement time among groups/communitites and not require another platform to do group call (be one-stop for communication)
region-TBD
ios/android
only available to users in a group to call users within the group
who can intitiate these calls?- only admin? or anyone?
metrics:NSM: feature engagement (C), number of calls made in a week per user (C).
PM: % of people joining the call in a group"
theproductguy - "Clarifying Questions and possible responses:
both audio and video
goals: increase engagement time among groups/communitites and not require another platform to do group call (be one-stop for communication)
region-TBD
ios/android
only available to users in a group to call users within the group
who can intitiate these calls?- only admin? or anyone?
metrics:NSM: feature engagement (C), number of calls made in a week per user (C).
PM: % of people joining the call in a group"See full answer
"Clarifying questions
1/ Any other products in VC portfolio I need to be aware of - "no"
2/ Market focus? - "no"
Started off by stating database marketing
1/ SQL
2/ NoSQL
Data models mostly relational
Database trends
1/ Vector databases
2/ Growth in cloud / fully managed databases
3/ Multi cloud is important to avoid vendor lock in
Ultimately Price/performance is king
Competition
1/ Large cloud providers - AWS/GCP/Azure
2/ Legacy databases - Oracle/SQL Server
3/ Niche players - Vitess, Coc"
Glados - "Clarifying questions
1/ Any other products in VC portfolio I need to be aware of - "no"
2/ Market focus? - "no"
Started off by stating database marketing
1/ SQL
2/ NoSQL
Data models mostly relational
Database trends
1/ Vector databases
2/ Growth in cloud / fully managed databases
3/ Multi cloud is important to avoid vendor lock in
Ultimately Price/performance is king
Competition
1/ Large cloud providers - AWS/GCP/Azure
2/ Legacy databases - Oracle/SQL Server
3/ Niche players - Vitess, Coc"See full answer
"The health of the product backlog can be determined by considering the following factors -
Is the product backlog prioritized?
Will each backlog be easily picked up by the engineering team i.e. does it have all the required details such as user story, acceptance criteria, and effort estimates?
No items coming back to the product backlog from the sprint backlog due to incomplete development or bugs
No of items moving to the "Done" state from the product backlog in each sprint
A"
Nimish J. - "The health of the product backlog can be determined by considering the following factors -
Is the product backlog prioritized?
Will each backlog be easily picked up by the engineering team i.e. does it have all the required details such as user story, acceptance criteria, and effort estimates?
No items coming back to the product backlog from the sprint backlog due to incomplete development or bugs
No of items moving to the "Done" state from the product backlog in each sprint
A"See full answer
"Explained in STAR format one of the project situation where I had originally approved problem with different design which was correct approach that time. But as the project progressed that approach needed revision. Emphasized on facts why original approach was taken with points. Also focused tail end of discussion on learnings out of situation and how you end up deploying better solution from that learning."
Vijay P. - "Explained in STAR format one of the project situation where I had originally approved problem with different design which was correct approach that time. But as the project progressed that approach needed revision. Emphasized on facts why original approach was taken with points. Also focused tail end of discussion on learnings out of situation and how you end up deploying better solution from that learning."See full answer
"Estimate how much it costs Google to store a year free of storage of photos for new Pixel Phones
Clarify with Questions
Know the Basic Numbers
Decide on and Lay Down Your Structure
Write Down the Equations
Crunch Numbers
Sanity Check
Clarify with Questions
Are we talking about cost per person? Whole user base?
What do you mean when you are talking costs? Cost to build the facility? Cost to just store the data as a result o"
Viet H. - "Estimate how much it costs Google to store a year free of storage of photos for new Pixel Phones
Clarify with Questions
Know the Basic Numbers
Decide on and Lay Down Your Structure
Write Down the Equations
Crunch Numbers
Sanity Check
Clarify with Questions
Are we talking about cost per person? Whole user base?
What do you mean when you are talking costs? Cost to build the facility? Cost to just store the data as a result o"See full answer
"Imagine you're a PM for Mastercard. Design a product for restaurants to help them transition to a purchase order (PO) system that reduces their labor costs
Mission & Vision :
Mastercard is a payment processing fintech company, it has different payment service & products ex credit/debit cards etc. Mastercard vision and mission to to connect the world financially making payment process seamless across different industries.
Clarifying questions :
What type of restaurants on basis of revenue we"
Ashutosh K. - "Imagine you're a PM for Mastercard. Design a product for restaurants to help them transition to a purchase order (PO) system that reduces their labor costs
Mission & Vision :
Mastercard is a payment processing fintech company, it has different payment service & products ex credit/debit cards etc. Mastercard vision and mission to to connect the world financially making payment process seamless across different industries.
Clarifying questions :
What type of restaurants on basis of revenue we"See full answer
"We will not always have all the required data to make a decision quickly. We need to work with ambiguity effectively by tying up the available facts with intuition."
Sankar S. - "We will not always have all the required data to make a decision quickly. We need to work with ambiguity effectively by tying up the available facts with intuition."See full answer
"Its enough that I shared the question. Im not going to tell you how I answered. If you dont know how to answer, then this isn't the job or company for you. Sorry."
David E. - "Its enough that I shared the question. Im not going to tell you how I answered. If you dont know how to answer, then this isn't the job or company for you. Sorry."See full answer