"// Helper function to calculate the Euclidean distance between two points
function distance(p1, p2) {
return Math.sqrt(Math.pow(p1[0] - p2[0], 2) + Math.pow(p1[1] - p2[1], 2));
}
// A helper function to find the closest pair in a given set of points within the strip
function closestPairInStrip(strip, d) {
let minDist = d; // Start with the current minimum distance
strip.sort((a, b) => a[1] - b[1]); // Sort the strip by y-coordinate
for (let i = 0; i < strip.length; i++) {
"
Vishnu V. - "// Helper function to calculate the Euclidean distance between two points
function distance(p1, p2) {
return Math.sqrt(Math.pow(p1[0] - p2[0], 2) + Math.pow(p1[1] - p2[1], 2));
}
// A helper function to find the closest pair in a given set of points within the strip
function closestPairInStrip(strip, d) {
let minDist = d; // Start with the current minimum distance
strip.sort((a, b) => a[1] - b[1]); // Sort the strip by y-coordinate
for (let i = 0; i < strip.length; i++) {
"See full answer
"This question is a Diagnosis Question. It's used to test your ability to perform root cause analysis (RCA), identify many possible issues, come up with a theory of probable cause, and address how you would solve this issue. A drop in video engagement can signify either a technical issue (the video player is broken) or a product issue (recommendations performing poorly).
Let's follow the template for answering Diagnosis Questions:
Ask clarifying questions
**List potential high level"
Exponent - "This question is a Diagnosis Question. It's used to test your ability to perform root cause analysis (RCA), identify many possible issues, come up with a theory of probable cause, and address how you would solve this issue. A drop in video engagement can signify either a technical issue (the video player is broken) or a product issue (recommendations performing poorly).
Let's follow the template for answering Diagnosis Questions:
Ask clarifying questions
**List potential high level"See full answer
"To determine what predictions to show, our systems look for common queries that match what someone starts to enter into the search box but also consider:"
Abdurhman M. - "To determine what predictions to show, our systems look for common queries that match what someone starts to enter into the search box but also consider:"See full answer
"Clarifying questions
Scope this down to borrowing and lending within US
Scope this down to just money and not other assets (crypto, gold etc.)
Scope this down to Facebook/Instagram app and not website etc.
Is this peer to peer lending? Or lending from financial institutions etc.? (Scope to peer to peer lending as that connects more with the mission). Lending for small business needs, etc. are scoped out for simplicity
**Mission Statement and how it is connected to this product ide"
Bhargava Y. - "Clarifying questions
Scope this down to borrowing and lending within US
Scope this down to just money and not other assets (crypto, gold etc.)
Scope this down to Facebook/Instagram app and not website etc.
Is this peer to peer lending? Or lending from financial institutions etc.? (Scope to peer to peer lending as that connects more with the mission). Lending for small business needs, etc. are scoped out for simplicity
**Mission Statement and how it is connected to this product ide"See full answer
Product Manager
Product Design
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"Let's say you are given a use case where Github's co-pilot introduces an inline citation feature (which basically gives you insights into a given code - mentioning the functions and related components for the selected code). How will you market this feature?
To make users aware, what would the campaign proposal look like for both existing and new users? How would you measure the success of this product? What are some ways you'd try to market it?"
Anonymous Kingfisher - "Let's say you are given a use case where Github's co-pilot introduces an inline citation feature (which basically gives you insights into a given code - mentioning the functions and related components for the selected code). How will you market this feature?
To make users aware, what would the campaign proposal look like for both existing and new users? How would you measure the success of this product? What are some ways you'd try to market it?"See full answer
"What is Slack ?
Slack is a basic instant messaging app usually used in the intra office space , allowing teams to communicate .Also , it includes video & voice calls . In a nutshell , it provides an efficient team communications solutions .
2 Goals of Google/ Position in the market ? To create innovative solutions to customer problems .
The focus is on providing accessible information to everyone .
3 Synergy of such a product with google : Slack allows efficient team communication ."
Pragya S. - "What is Slack ?
Slack is a basic instant messaging app usually used in the intra office space , allowing teams to communicate .Also , it includes video & voice calls . In a nutshell , it provides an efficient team communications solutions .
2 Goals of Google/ Position in the market ? To create innovative solutions to customer problems .
The focus is on providing accessible information to everyone .
3 Synergy of such a product with google : Slack allows efficient team communication ."See full answer
"Clarification Question:
First I would like to clarify my understanding of AirBnB.
AirBnB is an online marketplace that lets people rent out their properties or spare rooms to guests. Airbnb takes 3% commission from hosts and around 6 to 12% from guests.
Now, I believe payment collection experience is related to the host so they can visualize everything around their payments.
Reason for designing this experience - to provide a better collection experience for hosts
Marke"
D S. - "Clarification Question:
First I would like to clarify my understanding of AirBnB.
AirBnB is an online marketplace that lets people rent out their properties or spare rooms to guests. Airbnb takes 3% commission from hosts and around 6 to 12% from guests.
Now, I believe payment collection experience is related to the host so they can visualize everything around their payments.
Reason for designing this experience - to provide a better collection experience for hosts
Marke"See full answer
"Clarifying questions:
What are the needs of the user ?
What kind of changes were made that is expected to sync?
Can you describe the calendar app for me? Is it a mobile app or web? To better understand the UI for solutioning
Can we define "recently" - Is it in mins or days?
Do we know the reasons for the sync issue yet? Can we supposed to expose the issue to the front end?
Define the basic user story structure
User personaAction expected Job to be achieved
Would brea"
Sid S. - "Clarifying questions:
What are the needs of the user ?
What kind of changes were made that is expected to sync?
Can you describe the calendar app for me? Is it a mobile app or web? To better understand the UI for solutioning
Can we define "recently" - Is it in mins or days?
Do we know the reasons for the sync issue yet? Can we supposed to expose the issue to the front end?
Define the basic user story structure
User personaAction expected Job to be achieved
Would brea"See full answer
"Interesting questions. Thank you for asking it.
S: Suppose I want to add notifications service to an app that provides user directed content, that is is dependent on user's past preferences
T: if you ask me for a prototype, then I would use API gateway/ LB, Lambda, storage in SQL and No SQL both, have caches. later we could use CDN, have EC2 instances to run the app. We could deploy Kafka pipeline also. Create notification service on the existing app. - that will be a micro service
A: Since"
Agni W. - "Interesting questions. Thank you for asking it.
S: Suppose I want to add notifications service to an app that provides user directed content, that is is dependent on user's past preferences
T: if you ask me for a prototype, then I would use API gateway/ LB, Lambda, storage in SQL and No SQL both, have caches. later we could use CDN, have EC2 instances to run the app. We could deploy Kafka pipeline also. Create notification service on the existing app. - that will be a micro service
A: Since"See full answer
"A full stack developer could be summarized as the person who both writes the APIs and consumes the APIs. They are familiar with Databases/Data-layer services, middle-layer/application services and business logic, and finally familiar with the consumers whether front-end applications/UIs or other systems. They can understand the trade-offs up and down the stack, where to adjust along the service-call-path. Ideally they are comfortable programming both async calls (front end javascript promises, e"
Luke P. - "A full stack developer could be summarized as the person who both writes the APIs and consumes the APIs. They are familiar with Databases/Data-layer services, middle-layer/application services and business logic, and finally familiar with the consumers whether front-end applications/UIs or other systems. They can understand the trade-offs up and down the stack, where to adjust along the service-call-path. Ideally they are comfortable programming both async calls (front end javascript promises, e"See full answer