"US population = 330M , 80M across 4 generations
population that is physically able to travel, can afford travel, travels for business ranges between 20-60 year olds = 160M
calculating maximum demand:
long weekends in summer are peak travel times, lets assume 60% of population who are able and can afford travel, do so during long weekend = 0.6x160M
lets say 60% of this population choses prefers domestic travel while 40% go international (consider Mexico, Canada, London are international"
Ananya M. - "US population = 330M , 80M across 4 generations
population that is physically able to travel, can afford travel, travels for business ranges between 20-60 year olds = 160M
calculating maximum demand:
long weekends in summer are peak travel times, lets assume 60% of population who are able and can afford travel, do so during long weekend = 0.6x160M
lets say 60% of this population choses prefers domestic travel while 40% go international (consider Mexico, Canada, London are international"See full answer
"Situation - A time where I had to collaborate with a team member in another department was while I was at Google working on my hotel project and had to work with the legal department for our OOBE flow.
Task - I was tasked to work cross functionally with the legal department to lead the design of the out of box experience for our product to ensure our guest users were sure of policies around data and privacy.
Action - In order to establish cadence and effective relationship building, I set up a t"
Ben G. - "Situation - A time where I had to collaborate with a team member in another department was while I was at Google working on my hotel project and had to work with the legal department for our OOBE flow.
Task - I was tasked to work cross functionally with the legal department to lead the design of the out of box experience for our product to ensure our guest users were sure of policies around data and privacy.
Action - In order to establish cadence and effective relationship building, I set up a t"See full answer
"First, I want to understand the scope of the problem:
Definite ‘inappropriate’: does it something violate our community standards? Or is it in gray area?
If it violates, I treat as a bug, something bad got through our system
If it’s in gray area, I continue diagnosing the issue
Does it happen to all users? It may happen to all but only some reported
If it happens to all —> why the rest didn’t report, was it because they hold different opinion about what is appropriate, or because they d"
Darren L. - "First, I want to understand the scope of the problem:
Definite ‘inappropriate’: does it something violate our community standards? Or is it in gray area?
If it violates, I treat as a bug, something bad got through our system
If it’s in gray area, I continue diagnosing the issue
Does it happen to all users? It may happen to all but only some reported
If it happens to all —> why the rest didn’t report, was it because they hold different opinion about what is appropriate, or because they d"See full answer
"As a technology leader with enormous power and influence, Google has a significant role to play in global social responsibility. Right now, that means that Google must focus on how humanity can create a sustainable future.
If I had unlimited resources, I would focus on the products that enable future mobility in sustainable cities. The success of Gogoro, the Taiwanese scooter manufacturer that has created a swappable battery pack system for small scooters, shows how green tech, consumer visib"
Peter H. - "As a technology leader with enormous power and influence, Google has a significant role to play in global social responsibility. Right now, that means that Google must focus on how humanity can create a sustainable future.
If I had unlimited resources, I would focus on the products that enable future mobility in sustainable cities. The success of Gogoro, the Taiwanese scooter manufacturer that has created a swappable battery pack system for small scooters, shows how green tech, consumer visib"See full answer
" can we use blomfilters to check existing usernames? and if both are creating at a time, like both are choosing some abcd , here system checks whether user with that name exists or not. so while checking , it will add an entry on redis (example) with this name as key and obtain lock using some distributed lock. , it will lock on that name. (like seat booking in bookmyshow) with some TTL value.
so this check will happen once user enters his interest username and also while submit .. 2 times che"
Gk K. - " can we use blomfilters to check existing usernames? and if both are creating at a time, like both are choosing some abcd , here system checks whether user with that name exists or not. so while checking , it will add an entry on redis (example) with this name as key and obtain lock using some distributed lock. , it will lock on that name. (like seat booking in bookmyshow) with some TTL value.
so this check will happen once user enters his interest username and also while submit .. 2 times che"See full answer
Engineering Manager
System Design
+2 more
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"I broke the vehicles down by regions in the world. Designed a wireless api interface to sync with a database backend that linked to google maps through another service and api."
James H. - "I broke the vehicles down by regions in the world. Designed a wireless api interface to sync with a database backend that linked to google maps through another service and api."See full answer
"Clarifying question(s)
Is the upcoming deadline an internal milestone or is it an external facing deadline (ie. compliance/ product launch / feature release)? What would be the repercussion/Is there any possibility of moving the deadline (if needed)?
Do we know any details on the team member, Jane in terms of how long the sick leave is likely to be? Is it a fever or is it something bigger that could have her out for much longer?
Situation: Jane taking sick leave and the project has an upcom"
Adib M. - "Clarifying question(s)
Is the upcoming deadline an internal milestone or is it an external facing deadline (ie. compliance/ product launch / feature release)? What would be the repercussion/Is there any possibility of moving the deadline (if needed)?
Do we know any details on the team member, Jane in terms of how long the sick leave is likely to be? Is it a fever or is it something bigger that could have her out for much longer?
Situation: Jane taking sick leave and the project has an upcom"See full answer
"I would first start by telling what Google maps do:
Finding direction from A to B
Few users also use it for safety purpose while in Cab
Businesses use it for listing themselves and also consume APIs
When we open Google Maps:
We see the focus is primarily on maps, giving few suggestions on top if user wants to caetgorize thier search such as pretol pump etc
User can add reviews in contribute section
User can review at the feed/suggestions
Since primary usage is navigation, I will"
Lakshay T. - "I would first start by telling what Google maps do:
Finding direction from A to B
Few users also use it for safety purpose while in Cab
Businesses use it for listing themselves and also consume APIs
When we open Google Maps:
We see the focus is primarily on maps, giving few suggestions on top if user wants to caetgorize thier search such as pretol pump etc
User can add reviews in contribute section
User can review at the feed/suggestions
Since primary usage is navigation, I will"See full answer
"The experience at a DMV can be improved by modernizing the systems, processes, and design of the service. Some possible ways to do this are:
Using digital technologies to enable online transactions, self-service kiosks, mobile apps, and chatbots. These can reduce the need for in-person visits, shorten wait times, and increase convenience and accessibility for customers. [For example, some states have implemented online driver’s license renewal, vehicle registration, and appointment schedul"
Anonymous Dove - "The experience at a DMV can be improved by modernizing the systems, processes, and design of the service. Some possible ways to do this are:
Using digital technologies to enable online transactions, self-service kiosks, mobile apps, and chatbots. These can reduce the need for in-person visits, shorten wait times, and increase convenience and accessibility for customers. [For example, some states have implemented online driver’s license renewal, vehicle registration, and appointment schedul"See full answer
"Clarifying Questions
First, let me try to clarify what kind of self-driving car are we talking about here. Let' say, we have the following top-level assumptions:
Fully autonomous
Family Sedan Car
US Market
This technology is only available with Google
In a real face-to-face interview would pause to ask the interviewer to correct assumptions or ask for other features.
Consumer
Family - uses the autonomous ability of the car to spend time with kids while dropping them off to"
Vidur K. - "Clarifying Questions
First, let me try to clarify what kind of self-driving car are we talking about here. Let' say, we have the following top-level assumptions:
Fully autonomous
Family Sedan Car
US Market
This technology is only available with Google
In a real face-to-face interview would pause to ask the interviewer to correct assumptions or ask for other features.
Consumer
Family - uses the autonomous ability of the car to spend time with kids while dropping them off to"See full answer
"WITH RECURSIVE fibonacci_series AS (
SELECT
1 AS n,
0 AS fib1,
1 AS fib2
UNION ALL
SELECT
n + 1 AS n,
fib2 AS fib1,
fib1 + fib2 AS fib2
FROM fibonacci_series
WHERE n < 20 -- Limit the series to 20 numbers
)
SELECT
n,
fib1 AS fib
FROM fibonacci_series
ORDER BY n;
`"
Yashasvi V. - "WITH RECURSIVE fibonacci_series AS (
SELECT
1 AS n,
0 AS fib1,
1 AS fib2
UNION ALL
SELECT
n + 1 AS n,
fib2 AS fib1,
fib1 + fib2 AS fib2
FROM fibonacci_series
WHERE n < 20 -- Limit the series to 20 numbers
)
SELECT
n,
fib1 AS fib
FROM fibonacci_series
ORDER BY n;
`"See full answer
"I believe these are the traits of a great PM. I see PM to be somone who is a great manager of customer problems and for that he/she has to be:
Be an expert at the one domain and know the customer of the product in that domain and curate experiences for them better than the competition.
Be persuasive - Get things done by convincing rather than commanding.
Learn how great products are by being an engineer.
Be a fearless leader by championing teams ideas all the way to the management la"
Siddharth P. - "I believe these are the traits of a great PM. I see PM to be somone who is a great manager of customer problems and for that he/she has to be:
Be an expert at the one domain and know the customer of the product in that domain and curate experiences for them better than the competition.
Be persuasive - Get things done by convincing rather than commanding.
Learn how great products are by being an engineer.
Be a fearless leader by championing teams ideas all the way to the management la"See full answer
"Firstly, In designing a denoising system for sounds, I would start by clarifying the type of noise either stationary or non-stationary and application constraints which are the latency, scalability, accuracy and deployability. For real-time systems like Google meet, I will prefer a hybrid DSP + ML model like RNNoise. For batch processing like YouTube audio enhancement, a deep learn-based system such as Demucs or SEGAN would work well. Then I will need to evaluate how well the system improves aud"
Precious H. - "Firstly, In designing a denoising system for sounds, I would start by clarifying the type of noise either stationary or non-stationary and application constraints which are the latency, scalability, accuracy and deployability. For real-time systems like Google meet, I will prefer a hybrid DSP + ML model like RNNoise. For batch processing like YouTube audio enhancement, a deep learn-based system such as Demucs or SEGAN would work well. Then I will need to evaluate how well the system improves aud"See full answer
"If it's a product end to end, then there's a lot to say. If it's just a feature on top of a product then I will focus on the complexity and how I break complex tasks into small milestones to partner with XFN teams to nail it. Focus on situation, task, actions and results"
S G. - "If it's a product end to end, then there's a lot to say. If it's just a feature on top of a product then I will focus on the complexity and how I break complex tasks into small milestones to partner with XFN teams to nail it. Focus on situation, task, actions and results"See full answer
"To scale web applications, one must concentrate on having
Shared hosting / Dedicated server
CDN (for images servers)
Caching techniques
Database Sharding
Adding/removing webservers on the fly
In order to improve the speed of the web applications, certain techniques to look at :
Web hosts - Shared hosting / dedicated server
CDN
Caching techniques
Compression techniques
Reduced use of plugins, check Java script / CSS files
Pre-fetch : If we are aware that th"
Googlepm 1. - "To scale web applications, one must concentrate on having
Shared hosting / Dedicated server
CDN (for images servers)
Caching techniques
Database Sharding
Adding/removing webservers on the fly
In order to improve the speed of the web applications, certain techniques to look at :
Web hosts - Shared hosting / dedicated server
CDN
Caching techniques
Compression techniques
Reduced use of plugins, check Java script / CSS files
Pre-fetch : If we are aware that th"See full answer
"Clarifying questions like what is the end goal that we are trying to achieve ?
Is it revenue
Improving user experience
Improving current state - load times / find times / web page rendering / images ?
External API consideration
Introduction of a new feature in Google Maps
Branding related ?
Introducing a lite version of Google maps , say for emerging markets ?
Based on the above, calculate :
What are the positives of the algos ?
"
Googlepm 1. - "Clarifying questions like what is the end goal that we are trying to achieve ?
Is it revenue
Improving user experience
Improving current state - load times / find times / web page rendering / images ?
External API consideration
Introduction of a new feature in Google Maps
Branding related ?
Introducing a lite version of Google maps , say for emerging markets ?
Based on the above, calculate :
What are the positives of the algos ?
"See full answer
"Clarification questions:
Is it correct to assume that I am an insurance company provide insurance coverage for Waymo? yes
Is it safe to assume that we are talking about self-driving cars (no drivers)? yes
Several factors are taken into consideration when insurance companies provide insurance quotes (please not that all of these will apply to self-driving cars):
M/F
Age
Years of driving experience
Driving record
Expected miles driven / year
Cost of vehicle
If car will be used for c"
GSWarriors - "Clarification questions:
Is it correct to assume that I am an insurance company provide insurance coverage for Waymo? yes
Is it safe to assume that we are talking about self-driving cars (no drivers)? yes
Several factors are taken into consideration when insurance companies provide insurance quotes (please not that all of these will apply to self-driving cars):
M/F
Age
Years of driving experience
Driving record
Expected miles driven / year
Cost of vehicle
If car will be used for c"See full answer