You'll get access to over 3,000 product manager interview questions and answers
Recommended by over 100k members
Approach:
1. Understand the prompt better
2. Map out the calculation steps
3. Sensecheck the results
Clarification questions
Candidate: are we looking at just US or WW for the analysis?
Interviewer: WW
Candidate: do we delete the older data or store forever?
Interviewer: Store forever
Candidate: do we measure only video format or all format (video, pictures, etc) ?
Interviewer: All
Candidate: how many copies are store?
Interviewer: 5
Calculation steps:
1. Estimate the number of global population- 7B
2. Estimate the number of people with internet access- (50% of world population) 3.5B
3. Estimate the number of people that use you tube- (60% of internet users)- 2B
4. Estimate the number of people that create content- (1% of the youtube users based on data from my family and friends circle)- 20MM
5. Estimate the number of videos uploaded per yaer- (let us assume youtubers create one video every two weeks, that is 26 videos in a year)- 20*26MM= 520MM videos per year
6. Estimate the storage per video and then total storage space for copy - (let us assume storage per video is 100 MB) - 520MM videos * 500 MB= 520,000,000 * 500 MB or 520, 000 GB * 500 or 520 TB * 500 or 0.52 *500 PB or 25 PB
7. Estimate the total storage space for five copies- 25*5 = 100 PB
500 hours of video content is being uploaded to YouTube every minute globally
# hours content per day = 500*60*24= 720k hours/day
Videos are stores in resolutions: 1080, 720, 480, 360, 240, 144
Assuming total size for all the formats for a 1-minute video = 60MB
Total storage for 1 hour video = 60*60 = 3600MB = 3.6GB
# Storage for per day content = 720k * 3.6 = 2592,000 GB = 2592 TB=2.6 PB
# storage for an year = 2.6*365 = 949 PB
This is only on a single server. YouTube would be maintaining multiple copies of the same content, so multiply this final number by the number of servers we are saving it in. This will give us the total storage needed.
Top Google interview questions
- What is your favorite product? Why?89 answers | 263k views
- How would you design a bicycle renting app for tourists?62 answers | 82.5k views
- Build a product to buy and sell antiques.54 answers | 66.8k views
- See Google PM Interview Questions
Top Estimation interview questions
- Calculate the number of queries answered by Google per second.45 answers | 78.5k views
- How do you decide how many cash registers you need for a new Walmart store?33 answers | 39.4k views
- How many dentists are there in New York?33 answers | 36.7k views
- See Estimation PM Interview Questions
Top Google interview questions
- How would you improve Google Maps?53 answers | 228k views
- A metric for a video streaming service dropped by 80%. What do you do?50 answers | 135k views
- How would you design a web search engine for children below 14 years old?36 answers | 42.9k views
- See Google PM Interview Questions
Top Estimation interview questions
- Estimate the number of Uber rides.30 answers | 51.3k views
- Estimate the number of bicycles required to start a bike sharing operation in a big city.18 answers | 15.8k views
- Estimate the number of WhatsApp chats occuring in India.14 answers | 13.3k views
- See Estimation PM Interview Questions