"Clarifying questions:
How to define “price” in this interview question? Price is defined as the market value of a crypto asset (bitcoin, Ethereum, tether, BNB etc.).
Due to the characteristic of crypto assets which is time-sensitive, is this designed for a particular period of time? 1H, 1D, 1W, 1M, 1Y? No
Do we know the target customer segment given geographic location or demographic? Not specific.
Is it designed across devices? Mobile app.
Assumptions:
There are 03 cu"
Anna H. - "Clarifying questions:
How to define “price” in this interview question? Price is defined as the market value of a crypto asset (bitcoin, Ethereum, tether, BNB etc.).
Due to the characteristic of crypto assets which is time-sensitive, is this designed for a particular period of time? 1H, 1D, 1W, 1M, 1Y? No
Do we know the target customer segment given geographic location or demographic? Not specific.
Is it designed across devices? Mobile app.
Assumptions:
There are 03 cu"See full answer
"Automated Reimbursement System
1. Clarifying Questions
Scope: Will the system be applicable to all employees or only specific grades/levels?
Ownership: Are we building this product internally for our own use, or is it intended for external/outsourced usage?
MVP Requirements: Besides automation, what additional features or problem statements should the Minimum Viable Product (MVP) address?
2. User Segmentation
Commute Expenses: e.g., m"
Kiran R. - "Automated Reimbursement System
1. Clarifying Questions
Scope: Will the system be applicable to all employees or only specific grades/levels?
Ownership: Are we building this product internally for our own use, or is it intended for external/outsourced usage?
MVP Requirements: Besides automation, what additional features or problem statements should the Minimum Viable Product (MVP) address?
2. User Segmentation
Commute Expenses: e.g., m"See full answer
Product Manager
Product Design
🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.
"A load balancer accepts requests from clients (e.g. web browsers on the Internet) and backend services (e.g. a web server). Load balancers are useful for replicating backend services onto multiple machines to meet increased demand.
The design of a load balancer should address the following questions:
What protocols should be supported?
IP allows computers to communicate using packets, similarly to how people send letters. IP packets are addressed using an IP address and port number.
"
Anonymous Hyena - "A load balancer accepts requests from clients (e.g. web browsers on the Internet) and backend services (e.g. a web server). Load balancers are useful for replicating backend services onto multiple machines to meet increased demand.
The design of a load balancer should address the following questions:
What protocols should be supported?
IP allows computers to communicate using packets, similarly to how people send letters. IP packets are addressed using an IP address and port number.
"See full answer
"CQs
Is 10x capacity any specific time or in general
Any time of the day , store should be able to handle
To confirm, Grocery store objective is to sell day to day grocery and vegetables? Or do we want to include any other products
Day to day grocery
Why is the foot traffic more than 10x the typical cap. Was the store designed poorly or did the store not predict the foot traffic correctly ?
We suddenly become local's favorite
We want to design this single store to handle 10X capacity an"
Abhi S. - "CQs
Is 10x capacity any specific time or in general
Any time of the day , store should be able to handle
To confirm, Grocery store objective is to sell day to day grocery and vegetables? Or do we want to include any other products
Day to day grocery
Why is the foot traffic more than 10x the typical cap. Was the store designed poorly or did the store not predict the foot traffic correctly ?
We suddenly become local's favorite
We want to design this single store to handle 10X capacity an"See full answer
"While running the testloop I am getting an error RuntimeError: runningmean should contain 28 elements not 38.
I think it's the difference between the categorical features in train and test.
`"
Abinash S. - "While running the testloop I am getting an error RuntimeError: runningmean should contain 28 elements not 38.
I think it's the difference between the categorical features in train and test.
`"See full answer
"The goal is to determine which shows get promoted to the home screen i.e the screen the user sees after launching Netflix. There are two ways to promote shows today;
Editorially - the editorial team selects the categories and shows to be shown to the users
Algorithmically - based on the historical views and contextual information such as location, time of the year, age, etc the recommendation algorithm determines a list of shows to show on the screen.
The higher level goal for Netflix is o"
Ankit J. - "The goal is to determine which shows get promoted to the home screen i.e the screen the user sees after launching Netflix. There are two ways to promote shows today;
Editorially - the editorial team selects the categories and shows to be shown to the users
Algorithmically - based on the historical views and contextual information such as location, time of the year, age, etc the recommendation algorithm determines a list of shows to show on the screen.
The higher level goal for Netflix is o"See full answer
"Provided an overview of IG Search and the value it provides for users
Gave 3 metrics that I would consider when determining success
Shared the metric that I would use as the north star
Got a follow up question. If users were clicking on irrelevant results from their search would that affect your metrics and how would you deal with that
Do you think it is a bad thing if users use search to search for something, get irrelevant results and perform an action based on that?"
Ruth J. - "Provided an overview of IG Search and the value it provides for users
Gave 3 metrics that I would consider when determining success
Shared the metric that I would use as the north star
Got a follow up question. If users were clicking on irrelevant results from their search would that affect your metrics and how would you deal with that
Do you think it is a bad thing if users use search to search for something, get irrelevant results and perform an action based on that?"See full answer
"Let’s say the matrix is m x n (i.e., m rows and n columns).
Start from the top-right corner of the matrix.
Move left if you see a 1.
Move down if you see a 0.
Keep track of the row index where you last saw the leftmost 1 — that row has the most 1s.
public class MaxOnesRow {
public static int rowWithMostOnes(int matrix) {
int rows = matrix.length;
int cols = matrix[0].length;
int maxRowIndex = -1;
int j = cols - 1; /"
Khushbu R. - "Let’s say the matrix is m x n (i.e., m rows and n columns).
Start from the top-right corner of the matrix.
Move left if you see a 1.
Move down if you see a 0.
Keep track of the row index where you last saw the leftmost 1 — that row has the most 1s.
public class MaxOnesRow {
public static int rowWithMostOnes(int matrix) {
int rows = matrix.length;
int cols = matrix[0].length;
int maxRowIndex = -1;
int j = cols - 1; /"See full answer
"Use an index, two pointers, and a set to keep track of elements that you've seen.
pseudo code follows:
for i, elem in enumerate(array):
if elem in set return False
if i > N:
set.remove(array[i-N])"
Michael B. - "Use an index, two pointers, and a set to keep track of elements that you've seen.
pseudo code follows:
for i, elem in enumerate(array):
if elem in set return False
if i > N:
set.remove(array[i-N])"See full answer
"select
sub.name subreddit_name,
count(distinct us.userid) totalusers
from user_subreddit as us
left join subreddit as sub
on us.subredditid = sub.subredditid
group by
us.subreddit_id
having
count(distinct us.user_id) > 3"
Lucas G. - "select
sub.name subreddit_name,
count(distinct us.userid) totalusers
from user_subreddit as us
left join subreddit as sub
on us.subredditid = sub.subredditid
group by
us.subreddit_id
having
count(distinct us.user_id) > 3"See full answer