"Function signature for reference:
def calculate(servers: List[int], k: int) -> int:
...
To resolve this, you can use binary search considering left=0 and right=max(servers) * k
so
Example:
servers=[1,4,5] First server handle 1 request in let's say 1 second, second 4 seconds and last 5 seconds.
k=10
So I want to know the minimal time to process 10 requests
Get the mid for timeline
mid = (left+right)//2 -> mid is 25
Check how many we could process
25//1 = 25 25//4=6 25//5=5 so 25 + 6 +"
Babaa - "Function signature for reference:
def calculate(servers: List[int], k: int) -> int:
...
To resolve this, you can use binary search considering left=0 and right=max(servers) * k
so
Example:
servers=[1,4,5] First server handle 1 request in let's say 1 second, second 4 seconds and last 5 seconds.
k=10
So I want to know the minimal time to process 10 requests
Get the mid for timeline
mid = (left+right)//2 -> mid is 25
Check how many we could process
25//1 = 25 25//4=6 25//5=5 so 25 + 6 +"See full answer
"There are way more learning opportunities for us here if we acknowledge that this was not a good example and provide tips on how to improve the answer. All the answers here are superficial and it is clear that the interviewee was unprepared.
.
The mention of quote "a wise man told me..." (instead of getting to his own personal points) and some lack of confidence with the metrics portion are red flags.
.
For more concrete example, it is hard to believe that no one wants to fix the slow build proc"
Danny - "There are way more learning opportunities for us here if we acknowledge that this was not a good example and provide tips on how to improve the answer. All the answers here are superficial and it is clear that the interviewee was unprepared.
.
The mention of quote "a wise man told me..." (instead of getting to his own personal points) and some lack of confidence with the metrics portion are red flags.
.
For more concrete example, it is hard to believe that no one wants to fix the slow build proc"See full answer
"C : Okay. So I would want to start with knowing what is the product for which we have to build a recommendation system.
I : This is a photo sharing product.
C : Okay. So is this something on the lines of Instagram?
I : Yes
C : Okay. And are we a new product co or we have some current product built already?
I : You can assume yourself.
C : Okay. Is there any demography or country we are targeting?
I : No, this is a global product
C : Okay. So, the biggest goal of any product recommendation system"
Kartikeya N. - "C : Okay. So I would want to start with knowing what is the product for which we have to build a recommendation system.
I : This is a photo sharing product.
C : Okay. So is this something on the lines of Instagram?
I : Yes
C : Okay. And are we a new product co or we have some current product built already?
I : You can assume yourself.
C : Okay. Is there any demography or country we are targeting?
I : No, this is a global product
C : Okay. So, the biggest goal of any product recommendation system"See full answer
"Clarifying questions:
What is user frustration/ Define user frustration?
Was this qualitative feedback, or some reviews on playstore or support that we saw recently or some drop in metrics or increase in churn, or overall churn that we are addressing?
Let's assume frustration leads to users quitting the app and hence an increase in churn. This churn also indicates that users leaving the app after trying out a particular feature and not doing the core action of seeing the route from point A to p"
Ankita K. - "Clarifying questions:
What is user frustration/ Define user frustration?
Was this qualitative feedback, or some reviews on playstore or support that we saw recently or some drop in metrics or increase in churn, or overall churn that we are addressing?
Let's assume frustration leads to users quitting the app and hence an increase in churn. This churn also indicates that users leaving the app after trying out a particular feature and not doing the core action of seeing the route from point A to p"See full answer
"Couple of Clarification Questions to be asked are:
Aim of the physical product
Retention/Encourage Loyalty
Attract new customers
Collect customer Data outside of the Airbnb ecosystem for better advertising and customer focus
User Base of Airbnb
Solotravellers - traveling to new places for exploring/solo travel
Business Travelers - Lot of business Travelers who own small/medium businesses and book their own travel can choose airbnb
Family gr"
Manas M. - "Couple of Clarification Questions to be asked are:
Aim of the physical product
Retention/Encourage Loyalty
Attract new customers
Collect customer Data outside of the Airbnb ecosystem for better advertising and customer focus
User Base of Airbnb
Solotravellers - traveling to new places for exploring/solo travel
Business Travelers - Lot of business Travelers who own small/medium businesses and book their own travel can choose airbnb
Family gr"See full answer
Product Manager
Product Design
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"Weak point: suggested something that YouTube Music already does- offering the service free to Premium members. Rebounded by saying the lack of user awareness is a pain point and how it can be mitigated- by frequent check-ins by way of notifications and emails
Strong point: discussed overall strategies of global expansion, marketing and innovation with pros and cons for each approach. Settled on discussing an innovation piece combining ranked recommendation of YouTube music as well as personaliz"
Jazmia H. - "Weak point: suggested something that YouTube Music already does- offering the service free to Premium members. Rebounded by saying the lack of user awareness is a pain point and how it can be mitigated- by frequent check-ins by way of notifications and emails
Strong point: discussed overall strategies of global expansion, marketing and innovation with pros and cons for each approach. Settled on discussing an innovation piece combining ranked recommendation of YouTube music as well as personaliz"See full answer
"@Jacob, your videos are really good and helpful.
I want to know about the tool, you use for explaining the design in the videos."
anush - "@Jacob, your videos are really good and helpful.
I want to know about the tool, you use for explaining the design in the videos."See full answer
"i do feel like the question itself is kind of confusing. Youtube does have a product called YouTube’s Analytics, which is a channel analytics tool for creator lol"
Anonymous Ferret - "i do feel like the question itself is kind of confusing. Youtube does have a product called YouTube’s Analytics, which is a channel analytics tool for creator lol"See full answer
"Step 1: Clarifying the Problem Scope
We will focus on designing the leaderboard for Dream11 with these assumptions:
Registered teams: 100,000 users are actively participating and ranked.
Real-time updates: Leaderboard updates frequently as players accumulate points based on live sports events.
Multiple leagues: Each user can participate in different leagues, so we will need to maintain a separate leaderboard for each league.
Query efficiency: Users frequently"
Ramendra S. - "Step 1: Clarifying the Problem Scope
We will focus on designing the leaderboard for Dream11 with these assumptions:
Registered teams: 100,000 users are actively participating and ranked.
Real-time updates: Leaderboard updates frequently as players accumulate points based on live sports events.
Multiple leagues: Each user can participate in different leagues, so we will need to maintain a separate leaderboard for each league.
Query efficiency: Users frequently"See full answer
"Assumptions:
Platform: iOS/Android and Web Application
Service Type: Renting Bicycles (hourly, daily, weekly), possibility of buying or selling
Geography: Focusing on Asian markets, e.g., India, where bicycles are a popular mode of transportation
Role: Product Manager at Microsoft
Objective: Design an app focusing on customer engagement and new customer acquisition
Setting the Stage: Why a Renting Business?
Market Potential: In Asian markets, a si"
Nagendra S. - "Assumptions:
Platform: iOS/Android and Web Application
Service Type: Renting Bicycles (hourly, daily, weekly), possibility of buying or selling
Geography: Focusing on Asian markets, e.g., India, where bicycles are a popular mode of transportation
Role: Product Manager at Microsoft
Objective: Design an app focusing on customer engagement and new customer acquisition
Setting the Stage: Why a Renting Business?
Market Potential: In Asian markets, a si"See full answer
"Clarify understanding of the problem space. What does success look like? How is it measured? Platform specific? Market specific? Time period? Business goals? Then perform a funnel analysis to understand user journey and look for problems or opportunities.
Choose a user segment to focus on. Identify different user segments and prioritise one. Summarise the goal of the user and the friction point.
Brainstorm solutions. Come up with a number of rough solutions. Balance the business n"
Alice S. - "Clarify understanding of the problem space. What does success look like? How is it measured? Platform specific? Market specific? Time period? Business goals? Then perform a funnel analysis to understand user journey and look for problems or opportunities.
Choose a user segment to focus on. Identify different user segments and prioritise one. Summarise the goal of the user and the friction point.
Brainstorm solutions. Come up with a number of rough solutions. Balance the business n"See full answer
"Clarifying question to make sure that I'm analyzing the right feature - is this the notification bell that is in the Facebook app and site? (assume Yes) Tapping on it opens a drop-down that captures items and activities that the user should be aware of? (Yes) Ok, I believe I'm clear on which feature you're referring to.
My approach:
Customer problem and value proposition
Meta's mission and north star metric
Customer journey and notification bell use case
Success metrics on value del"
Anonymous Sparrow - "Clarifying question to make sure that I'm analyzing the right feature - is this the notification bell that is in the Facebook app and site? (assume Yes) Tapping on it opens a drop-down that captures items and activities that the user should be aware of? (Yes) Ok, I believe I'm clear on which feature you're referring to.
My approach:
Customer problem and value proposition
Meta's mission and north star metric
Customer journey and notification bell use case
Success metrics on value del"See full answer
"Great explanation on each of the components and their use.
During the interview would a PM candidate be expected to go in-depth for capacity estimation (e.g. storage estimation, bandwidth estimation etc.?)"
A B. - "Great explanation on each of the components and their use.
During the interview would a PM candidate be expected to go in-depth for capacity estimation (e.g. storage estimation, bandwidth estimation etc.?)"See full answer
"Define: How is daily post view calculated
Isolate Issues:
Data issue
Time period
Geo
IOS vs Android vs Web
Correlated Metrics in the funnel
DAU
Time spent/ scrolls
Engagement - likes, comments
External factors
Competitor actions
Big events
Internal factors
Product launch
Feature change"
Steve Y. - "Define: How is daily post view calculated
Isolate Issues:
Data issue
Time period
Geo
IOS vs Android vs Web
Correlated Metrics in the funnel
DAU
Time spent/ scrolls
Engagement - likes, comments
External factors
Competitor actions
Big events
Internal factors
Product launch
Feature change"See full answer
"Clarify what the business goals of Spotify is
Depending on the stage, some companies care more about revenue growth, some about user growth and in rarer cases, about profit margins.
In the case of Spotify, the company is still in growth stage so I will make some assumptions that user growth is the most important, followed by monetization. Plus, margin is relatively fixed due to the contracts with recording labels
Recently, Spotify has invested heavily in podcast with goa"
Patrick B. - "Clarify what the business goals of Spotify is
Depending on the stage, some companies care more about revenue growth, some about user growth and in rarer cases, about profit margins.
In the case of Spotify, the company is still in growth stage so I will make some assumptions that user growth is the most important, followed by monetization. Plus, margin is relatively fixed due to the contracts with recording labels
Recently, Spotify has invested heavily in podcast with goa"See full answer