"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
"Before I jump in, will this product be part of the FB ecosystem? If it's up to me, although I think wine has a great social element and is shared when people are connecting...I would hesitate to create a product that promotes alcohol consumption on FB. So I would choose to have it live outside of FB.
With that, let me start by making sure I understand the product correctly, talk about some metrics we can target. Then we can think through who our users are and outline some of their needs. Final"
Anonymous Sparrow - "Before I jump in, will this product be part of the FB ecosystem? If it's up to me, although I think wine has a great social element and is shared when people are connecting...I would hesitate to create a product that promotes alcohol consumption on FB. So I would choose to have it live outside of FB.
With that, let me start by making sure I understand the product correctly, talk about some metrics we can target. Then we can think through who our users are and outline some of their needs. Final"See full answer
"I was assigned to a project where the executive team said they wanted to "improve customer satisfaction" but provided no specific metrics, target outcomes, or scope. The initial brief was vague; they mentioned customer complaints were increasing, but hadn't quantified the problem or identified which customer segments or processes were involved. My responsibility was to lead the analysis and develop a solution; however, first, I needed to transform this ambiguous directive into a clearly defined"
Dhruv M. - "I was assigned to a project where the executive team said they wanted to "improve customer satisfaction" but provided no specific metrics, target outcomes, or scope. The initial brief was vague; they mentioned customer complaints were increasing, but hadn't quantified the problem or identified which customer segments or processes were involved. My responsibility was to lead the analysis and develop a solution; however, first, I needed to transform this ambiguous directive into a clearly defined"See full answer
"Great. I will start by understanding the goal of Google Photos and how it aligns with the goal and mission of Google. After defining goals, I will talk about the user actions which will contribute towards this goal. Based on these actions, we will define metrics.
Check-in with the interviewer on the approach here. Assuming that this looks good for the interviewer to proceed.
Google Photo - Helping users organise & manage their pictures. Completely in line with Google's mission.
Thinking ab"
Harshit G. - "Great. I will start by understanding the goal of Google Photos and how it aligns with the goal and mission of Google. After defining goals, I will talk about the user actions which will contribute towards this goal. Based on these actions, we will define metrics.
Check-in with the interviewer on the approach here. Assuming that this looks good for the interviewer to proceed.
Google Photo - Helping users organise & manage their pictures. Completely in line with Google's mission.
Thinking ab"See full answer
"My Favorite Product is Grammarly unlike Microsoft spell checker, it helps correct the mistakes as I compose my sentences. It follows rules, patterns, machine learning, deep learning, and natural language processing (NLP) to improve users’ writing skills and improve their confidence in writing skills.
I would evaluate this product by the following design principles.
Usefulness
Understandability
Innovative
It’s honest
I can expand this criterion and explain how I evaluate prod"
Dev S. - "My Favorite Product is Grammarly unlike Microsoft spell checker, it helps correct the mistakes as I compose my sentences. It follows rules, patterns, machine learning, deep learning, and natural language processing (NLP) to improve users’ writing skills and improve their confidence in writing skills.
I would evaluate this product by the following design principles.
Usefulness
Understandability
Innovative
It’s honest
I can expand this criterion and explain how I evaluate prod"See full answer
Product Manager
Behavioral
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"I believe human emotions can't be judged by number and hence I have always made mistakes while judging the outcome of a reaction by data."
Mc L. - "I believe human emotions can't be judged by number and hence I have always made mistakes while judging the outcome of a reaction by data."See full answer
"Shopping funnel and engagement: Global search brings up food items from multiple restaurants but results don't directly lead users to the item in the restaurant.
Retention and repeat: Users are not able to earn and burn store-specific rewards. Similarly stores/restaurants can't build direct relationship w/ the customers and provide custom offers
Multi-store cart and checkout. Currently DD supports cart and checkout from a single restaurant at a time. Many times customers want to order f"
Kinjal S. - "Shopping funnel and engagement: Global search brings up food items from multiple restaurants but results don't directly lead users to the item in the restaurant.
Retention and repeat: Users are not able to earn and burn store-specific rewards. Similarly stores/restaurants can't build direct relationship w/ the customers and provide custom offers
Multi-store cart and checkout. Currently DD supports cart and checkout from a single restaurant at a time. Many times customers want to order f"See full answer
"To answer why Spotify introduced Podcasts, I would like to use 3C framework- Customer, Competitors and Company.
Customers
We have seen Spotify has a high WAU. This means users are engaged to the platform for music.
Listeners need some new trend to listen to while going to the gym for example, or being stuck in a traffic. Sense of listening to something productive is what users need these days.
Podcasts are lesser commitment than audiobooks because of short episode length"
Simran M. - "To answer why Spotify introduced Podcasts, I would like to use 3C framework- Customer, Competitors and Company.
Customers
We have seen Spotify has a high WAU. This means users are engaged to the platform for music.
Listeners need some new trend to listen to while going to the gym for example, or being stuck in a traffic. Sense of listening to something productive is what users need these days.
Podcasts are lesser commitment than audiobooks because of short episode length"See full answer
"Clarifying Qs:
Design meaning - UI elements, front end requests and backend system architecture
GIFs = standard short animated videos of 1/2 seconds built either using images or videos
Make GIFs = generate gifs from images and videos
Do we want to build the system for a certain volume of requests? Do you want me to consider the scalability part?
I: Assumptions 1,2 & 3 are correct, ignore 3 for now
Users:
User b/w age 18-45 trying to generate GIFs using images(at least 3)"
Shwetang S. - "Clarifying Qs:
Design meaning - UI elements, front end requests and backend system architecture
GIFs = standard short animated videos of 1/2 seconds built either using images or videos
Make GIFs = generate gifs from images and videos
Do we want to build the system for a certain volume of requests? Do you want me to consider the scalability part?
I: Assumptions 1,2 & 3 are correct, ignore 3 for now
Users:
User b/w age 18-45 trying to generate GIFs using images(at least 3)"See full answer
"I would understand the real cause of it. Is it really a time issue or motivation issue or skill issue. If we know the actual root cause, we can better deal with it accordingly.
If it is a time issue, I would understand the work done by the team and related impact. Influence them to work on high impact work. If their work is also equally important, I would offer help from my team to heavy lift and they can just guide my team.
I would partner with respective team owner to get more resources for f"
Deepak S. - "I would understand the real cause of it. Is it really a time issue or motivation issue or skill issue. If we know the actual root cause, we can better deal with it accordingly.
If it is a time issue, I would understand the work done by the team and related impact. Influence them to work on high impact work. If their work is also equally important, I would offer help from my team to heavy lift and they can just guide my team.
I would partner with respective team owner to get more resources for f"See full answer
"Q:
What ad system do we have (to clarify the limitation of the ads systems and its scope)? -> need context of the advertisement.
What signals of ads do we have? pictures, texts, comments, video, etc.
What is daily active users on the system? (scalability)
Do we need taking actions after detecting it? (further process is needed?)
what device do we have ad system? PC, mobile, etc.
FR:
detect the weapon signals (classification)
alert after weapon is detected
identify the us"
Jaehyuk C. - "Q:
What ad system do we have (to clarify the limitation of the ads systems and its scope)? -> need context of the advertisement.
What signals of ads do we have? pictures, texts, comments, video, etc.
What is daily active users on the system? (scalability)
Do we need taking actions after detecting it? (further process is needed?)
what device do we have ad system? PC, mobile, etc.
FR:
detect the weapon signals (classification)
alert after weapon is detected
identify the us"See full answer
"The pain points articulated (no contextual recs, isolating experience, etc.) are pain points in the broader audio listening industry - there's no existing audio product at Meta already and assuming this is a net new product, wouldn't it have made more sense to have pain points specific to Meta? E.g. "there's no sense of real-time community in FB Groups" or "the barrier to engage in FB groups feels high" It almost feels like she just regurgitated things she's learned from her time working on Alex"
Michael N. - "The pain points articulated (no contextual recs, isolating experience, etc.) are pain points in the broader audio listening industry - there's no existing audio product at Meta already and assuming this is a net new product, wouldn't it have made more sense to have pain points specific to Meta? E.g. "there's no sense of real-time community in FB Groups" or "the barrier to engage in FB groups feels high" It almost feels like she just regurgitated things she's learned from her time working on Alex"See full answer
"
Functional Requirements
Content Ingestion\:
Ingest news articles from various sources (websites, social media, etc.).
Handle different types of content (text, images, videos).
Content Analysis\:
Extract and preprocess text from articles.
Analyze the content for potential indicators of fake news.
Model Training and Prediction\:
Use machine learning models to classify content as fake or real.
Continuously improve models with new data and f"
Scott S. - "
Functional Requirements
Content Ingestion\:
Ingest news articles from various sources (websites, social media, etc.).
Handle different types of content (text, images, videos).
Content Analysis\:
Extract and preprocess text from articles.
Analyze the content for potential indicators of fake news.
Model Training and Prediction\:
Use machine learning models to classify content as fake or real.
Continuously improve models with new data and f"See full answer
"Would like to ask some clarifying questions:
Is it a digital product?
Yes? Application or website?
Geography we are targeting?
Assuming it is an app.
Are we a new company or startup?
Do we have any tie ups with other companies to reach a wider audience?
Assuming I am the product manager of this application – goal of the application is to encourage voting
more questions:
Are we in the election year? Nearing the voting phase?
If yes, then it will be easier for us to get users fo"
Prerak B. - "Would like to ask some clarifying questions:
Is it a digital product?
Yes? Application or website?
Geography we are targeting?
Assuming it is an app.
Are we a new company or startup?
Do we have any tie ups with other companies to reach a wider audience?
Assuming I am the product manager of this application – goal of the application is to encourage voting
more questions:
Are we in the election year? Nearing the voting phase?
If yes, then it will be easier for us to get users fo"See full answer
"Clarifying Questions -
Who are we referring to "friends" and "non-friends"? (My assumption is people who we follow and they follow us back are our FRIENDS and people who we just follow, recommendations by Facebook and all other content falls under NON-FRIENDS category, is it right?)
Are we doing it putting a certain success metric in our mind? (Assuming none, just to make people's lives easy)
Let's use a combination of GAME & 4W1H Framework here to evaluate this question
**G"
Pankhuri T. - "Clarifying Questions -
Who are we referring to "friends" and "non-friends"? (My assumption is people who we follow and they follow us back are our FRIENDS and people who we just follow, recommendations by Facebook and all other content falls under NON-FRIENDS category, is it right?)
Are we doing it putting a certain success metric in our mind? (Assuming none, just to make people's lives easy)
Let's use a combination of GAME & 4W1H Framework here to evaluate this question
**G"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
"Clarifying Questions
Improve Netflix; Geography? India
Vision - Becoming the best global entertainment distribution service
Objective:
Growth
Engagement
Retention
I would focus on Growth because
Highly growing adoption of internet
increasing purchasing power in T2&T3
Indian consumers are constantly in need of finding new content to watch
aligned with Netflix strategy of producing content for indian masses
I believe Netflix has a really good immersive viewing/wathcing"
Sandeep K. - "Clarifying Questions
Improve Netflix; Geography? India
Vision - Becoming the best global entertainment distribution service
Objective:
Growth
Engagement
Retention
I would focus on Growth because
Highly growing adoption of internet
increasing purchasing power in T2&T3
Indian consumers are constantly in need of finding new content to watch
aligned with Netflix strategy of producing content for indian masses
I believe Netflix has a really good immersive viewing/wathcing"See full answer
"I got to play with a VR for the first time a few weeks ago at my friend’s house and I loved it, so this is a really fun question.
Clarifying Questions
Is this something we are looking to create Microsoft or are we a startup company etc? >
Education can refer to elementary, high school, university, or even self-learning (e.g. Udemy). Is there a specific area we want to focus on? << What do y"
Rohan S. - "I got to play with a VR for the first time a few weeks ago at my friend’s house and I loved it, so this is a really fun question.
Clarifying Questions
Is this something we are looking to create Microsoft or are we a startup company etc? >
Education can refer to elementary, high school, university, or even self-learning (e.g. Udemy). Is there a specific area we want to focus on? << What do y"See full answer
"I broke down my answer into Understanding the goal, investigating the current state and its challenges, prioritizing opportunities, brainstorming solutions, and selecting solutions.
To understand the goal and current state, I asked questions about the onboarding funnel and the conversion percentages. They have clear metrics to share, with the specific conversion rates for each stage.
I then identified the subscription screen in the flow as one of the key opportunities, as most of the drop happ"
Jaison E. - "I broke down my answer into Understanding the goal, investigating the current state and its challenges, prioritizing opportunities, brainstorming solutions, and selecting solutions.
To understand the goal and current state, I asked questions about the onboarding funnel and the conversion percentages. They have clear metrics to share, with the specific conversion rates for each stage.
I then identified the subscription screen in the flow as one of the key opportunities, as most of the drop happ"See full answer