"We can use dictionary to store cache items so that our read / write operations will be O(1).
Each time we read or update an existing record, we have to ensure the item is moved to the back of the cache. This will allow us to evict the first item in the cache whenever the cache is full and we need to add new records also making our eviction O(1)
Instead of normal dictionary, we will use ordered dictionary to store cache items. This will allow us to efficiently move items to back of the cache a"
Alfred O. - "We can use dictionary to store cache items so that our read / write operations will be O(1).
Each time we read or update an existing record, we have to ensure the item is moved to the back of the cache. This will allow us to evict the first item in the cache whenever the cache is full and we need to add new records also making our eviction O(1)
Instead of normal dictionary, we will use ordered dictionary to store cache items. This will allow us to efficiently move items to back of the cache a"See full answer
"Clarifying questions:
Revolut aim is to be one stop financial shop (super app) the cross border payments is yet another feature which makes cutomers come to revolut again and again to pay across borders, correct? If so, cross border payments is an important solution for Rev's overall mission and as a principal I would like to agree that whatever feature improvement we suggest should
Not take customer outside of Rev App
Should continue making Rev's cros border payments best in"
Rahul D. - "Clarifying questions:
Revolut aim is to be one stop financial shop (super app) the cross border payments is yet another feature which makes cutomers come to revolut again and again to pay across borders, correct? If so, cross border payments is an important solution for Rev's overall mission and as a principal I would like to agree that whatever feature improvement we suggest should
Not take customer outside of Rev App
Should continue making Rev's cros border payments best in"See full answer
"User Need Not Being Met by the Market: Instant, Seamless Cross-Border Refunds
Identifying the Gap- One major gap in the digital payments industry is the lack of instant, seamless cross-border refunds for consumers. Currently, international refunds take days or even weeks due to exchange rate fluctuations, banking delays, and compliance checks. This creates frustration for users, especially in e-commerce, where consumers expect instant refunds like they receive for domestic transactions.
Pain Poi"
Ani T. - "User Need Not Being Met by the Market: Instant, Seamless Cross-Border Refunds
Identifying the Gap- One major gap in the digital payments industry is the lack of instant, seamless cross-border refunds for consumers. Currently, international refunds take days or even weeks due to exchange rate fluctuations, banking delays, and compliance checks. This creates frustration for users, especially in e-commerce, where consumers expect instant refunds like they receive for domestic transactions.
Pain Poi"See full answer
"To determine whether we should introduce a new ads placement on the Uber homepage, I will use the following framework:
Clarifying Questions
Mission and Goals
User Journey and Pain Points
A/B Testing Plan
Decision-Making Criteria
1. Clarifying Questions
To ensure I fully understand the problem, I would ask:
What type of ads are we considering? For example, are they full-screen ads, banner ads, or native ads integrated into the feed? --> Take your"
Shrey H. - "To determine whether we should introduce a new ads placement on the Uber homepage, I will use the following framework:
Clarifying Questions
Mission and Goals
User Journey and Pain Points
A/B Testing Plan
Decision-Making Criteria
1. Clarifying Questions
To ensure I fully understand the problem, I would ask:
What type of ads are we considering? For example, are they full-screen ads, banner ads, or native ads integrated into the feed? --> Take your"See full answer
Product Manager
Analytical
+1 more
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"Clarification questions: How are these metrics calculated? Get context on why these metrics are important? Are we looking at any specific role?
Benchmarking: What is the current time to hire? How does this compare to competitors? Do we have a desired goal/target for these metrics?
Problem Solving: I began by analyzing the various steps in the hiring process and the number of days taken at each stage. Soon realised that the bulk of the time is taken in a few steps (80/20). Drilled down further"
S G. - "Clarification questions: How are these metrics calculated? Get context on why these metrics are important? Are we looking at any specific role?
Benchmarking: What is the current time to hire? How does this compare to competitors? Do we have a desired goal/target for these metrics?
Problem Solving: I began by analyzing the various steps in the hiring process and the number of days taken at each stage. Soon realised that the bulk of the time is taken in a few steps (80/20). Drilled down further"See full answer
"Prompt - annual cost of managing Google photos (note - I believe Google doesn't ask estimation question anymore, not sure who/here/how this was asked)
We will go over what Google photos is, its users, how they use photos, what costs are incurred, estimation - base case then scale it out, gut check the answers, and arrive at an estimate
Google photos is a photo and video storage service.
Its users are
Content creators/users
Google (hosting)
Other service providers that provide value-add"
Glados - "Prompt - annual cost of managing Google photos (note - I believe Google doesn't ask estimation question anymore, not sure who/here/how this was asked)
We will go over what Google photos is, its users, how they use photos, what costs are incurred, estimation - base case then scale it out, gut check the answers, and arrive at an estimate
Google photos is a photo and video storage service.
Its users are
Content creators/users
Google (hosting)
Other service providers that provide value-add"See full answer
"Prompt : design a farm product Clarifying question : what is the timeline and budget that i need to consider to build this ? 1 year , flexible budget . Is there any geography that i need to focus on ? no restriction What is farming ? Farming is a practice of raising crops and braising animals to produce food for human survival . This is one of the old / primitive ways to grow food using natural resources like land , water etc Why is it imp now ? Farming as I said is vary primitive way to grow fo"
Rani Y. - "Prompt : design a farm product Clarifying question : what is the timeline and budget that i need to consider to build this ? 1 year , flexible budget . Is there any geography that i need to focus on ? no restriction What is farming ? Farming is a practice of raising crops and braising animals to produce food for human survival . This is one of the old / primitive ways to grow food using natural resources like land , water etc Why is it imp now ? Farming as I said is vary primitive way to grow fo"See full answer
"I have 2 product feedbacks. I think it has been mentioned by many users of the platform.
Provide a text summary of the videos so that we do not have to watch through the whole interview practice
Actually comment if the interview was good or not, currently we do not really know if the answer given is of high quality
"
Kai H. - "I have 2 product feedbacks. I think it has been mentioned by many users of the platform.
Provide a text summary of the videos so that we do not have to watch through the whole interview practice
Actually comment if the interview was good or not, currently we do not really know if the answer given is of high quality
"See full answer
"SELECT customer_id,
order_date,
orderid AS secondearliestorderid
FROM (
SELECT order_id,
customer_id,
order_date,
ROWNUMBER() OVER (PARTITION BY customerid, orderdate ORDER BY orderid ASC) AS rank
FROM orders
)
WHERE rank = 2
ORDER BY orderdate, customerid
`"
Tiffany A. - "SELECT customer_id,
order_date,
orderid AS secondearliestorderid
FROM (
SELECT order_id,
customer_id,
order_date,
ROWNUMBER() OVER (PARTITION BY customerid, orderdate ORDER BY orderid ASC) AS rank
FROM orders
)
WHERE rank = 2
ORDER BY orderdate, customerid
`"See full answer
"A good answer is describing an experience where you either proposed something that was selected after discussion or an alternate approach was taken, or you disagreed with a decision and argued for something else, either successfully or not. A good answer would be you had cogent arguments, the decision went another way for some reason, and you then fully backed the decision (agree to disagree is another way of stating it). You did not take it personally and you fully committed to the deci"
Mrinalini R. - "A good answer is describing an experience where you either proposed something that was selected after discussion or an alternate approach was taken, or you disagreed with a decision and argued for something else, either successfully or not. A good answer would be you had cogent arguments, the decision went another way for some reason, and you then fully backed the decision (agree to disagree is another way of stating it). You did not take it personally and you fully committed to the deci"See full answer
"separate your application into three distinct layers: a Presentation Tier for the user interface, an Application Tier for business logic, and a Data Tier for data storage. Implement each tier using appropriate technologies, deploy them across different network segments for security, and configure communication protocols to allow for independent management and scaling."
Teja G. - "separate your application into three distinct layers: a Presentation Tier for the user interface, an Application Tier for business logic, and a Data Tier for data storage. Implement each tier using appropriate technologies, deploy them across different network segments for security, and configure communication protocols to allow for independent management and scaling."See full answer
"I use a data driven approach by ensuring there is a deep-dive on all alternatives. My approach to tradeoffs is around how to achieve the customer experience needed. I ensure there is an immediate path to green for a solution and a follow-up solution addressing the problem rightly."
Syed I. - "I use a data driven approach by ensuring there is a deep-dive on all alternatives. My approach to tradeoffs is around how to achieve the customer experience needed. I ensure there is an immediate path to green for a solution and a follow-up solution addressing the problem rightly."See full answer
"Clarifying question:
AOV/USER it means that the total price paid by a user in a certain period should be more than what it is now ?
Is the average taken on a daily/ weekly/monthly basis ? I would presume it to be a monthly basis , as it helps us a defined period of time to analyse user beharviour and track number of orders. Daily wont be succesfull mertric , as ocassionally only a user may order multiple times in a day , also weekly is also a viable metric but that wont help us to analyse"
Sdn D. - "Clarifying question:
AOV/USER it means that the total price paid by a user in a certain period should be more than what it is now ?
Is the average taken on a daily/ weekly/monthly basis ? I would presume it to be a monthly basis , as it helps us a defined period of time to analyse user beharviour and track number of orders. Daily wont be succesfull mertric , as ocassionally only a user may order multiple times in a day , also weekly is also a viable metric but that wont help us to analyse"See full answer
"Ask clarifying questions
1/ Are there any business changes to be aware of?
2/ Youtube Premium already exists so I am guessing we are not revisiting changing the prices just restarting the process from scratch
3/ Pricing for a specific market? North America, Asia, somewhere else?
To tackle this I would break down the problem into a few steps,
What is Google's mission and how Youtube premium fits into that
Google's mission is to organize information and make it accessible to all
You"
Glados - "Ask clarifying questions
1/ Are there any business changes to be aware of?
2/ Youtube Premium already exists so I am guessing we are not revisiting changing the prices just restarting the process from scratch
3/ Pricing for a specific market? North America, Asia, somewhere else?
To tackle this I would break down the problem into a few steps,
What is Google's mission and how Youtube premium fits into that
Google's mission is to organize information and make it accessible to all
You"See full answer
"When evaluating different high-end brands of products manufactured in China, how can one determine if a "new" product meets high-quality standards?"
Hams A. - "When evaluating different high-end brands of products manufactured in China, how can one determine if a "new" product meets high-quality standards?"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
"Clarify:
Map means -> coordinates
Places -> any location visitable by humans
software/hardware? -> up to you
unmapped by anyone or in Gmaps? -> not in Gmaps
Goal: to widen coverage
constraints -> none
market - US
Time to market -> 3-6 months
Why
Aligns with Google mission
Drive more engagement
Users
Company
Users who drop locations
Big City dwellers
Country side areas
Remote areas with limited internet
End users
Advertisers
Prioritise: siz"
Utkarsh G. - "Clarify:
Map means -> coordinates
Places -> any location visitable by humans
software/hardware? -> up to you
unmapped by anyone or in Gmaps? -> not in Gmaps
Goal: to widen coverage
constraints -> none
market - US
Time to market -> 3-6 months
Why
Aligns with Google mission
Drive more engagement
Users
Company
Users who drop locations
Big City dwellers
Country side areas
Remote areas with limited internet
End users
Advertisers
Prioritise: siz"See full answer
"Designing a Price Drop Tracker system like CamelCamelCamel involves creating a platform that tracks price changes for products on various e-commerce websites and notifies users when prices drop. Here’s a detailed system design for such a service:
Functional Requirements
User Registration and Authentication\:
Users can register and log in.
Support for social media logins (e.g., Google, Facebook).
Product Tracking\:
Users can add products to their watchlist for"
Scott S. - "Designing a Price Drop Tracker system like CamelCamelCamel involves creating a platform that tracks price changes for products on various e-commerce websites and notifies users when prices drop. Here’s a detailed system design for such a service:
Functional Requirements
User Registration and Authentication\:
Users can register and log in.
Support for social media logins (e.g., Google, Facebook).
Product Tracking\:
Users can add products to their watchlist for"See full answer