Complete and Continue
Data Science Interview Material
Product Case Studies
How would you improve engagement on FB?
We are launching a new driver app with a better UI. The goal is increasing driver earnings by increasing their number of trips. Outline a testing strategy to see if the new app is better than the old one
Give an example of a case in which you run an A/B test, test wins with significant p-value, but you still choose to not make the change
Do you expect that Uber trips without rider review have been better, worse, or same as trips with reviews?
A given category of an e-commerce marketplace, for instance jeans, is not doing well. How would you estimate if it is a demand or supply problem?
What are the drawbacks of using supervised machine learning to predict frauds?
If 70% of Facebook users on iOS use Instagram, but only 35% of Facebook users on Android use Instagram, how would you investigate the discrepancy?
We made a change to our subscription offering adding new features. We expect this to increase subscription retention. How can we test if the change is successful?
Do you think it is better to target ads based on user demographic or behavioral characteristics (past browsing experience)?
We ran an A/B test. Test won, so we make the change on the site for all users. But after waiting for some time, we realize that the new version of the site is not performing better than the old one. What could be the reason?
You are launching a messaging app. Define 2 metrics that you'd choose to monitor app performance during the first months. Why you chose them?
Which feature would you add to WhatsApp?
You have to predict conversion rate on Airbnb using user country as one of the input variables. How would you deal with the missing values in "country"?
How to estimate the value of a user coming to your e-commerce store when they land on your home-page for the first time?
How can we tell if two users on Facebook are best friends?
Which variables are important to predict a fake listing on eBay?
Explain the drawbacks of running an A/B test by market (i.e. all people in one market get version A of the site and another market version B)
How would you measure the performance of the customer service department?
FB - Should we add a love button?
How would you use data to evaluate if it makes sense to implement two-step authentication when users log in?
At Facebook we use as a metric number of likes per user per week. And, each week, we check it year over year to control for seasonality. This week the metric is dramatically down. How would you find out the reason? Logging is fine as well as the query we used to get the data
We are running 30 tests at the same time, trying different versions of our home page. In only one case test wins against old home page. P-value is 0.04. Would you make the change?
Each user on our site can be described by 100 continuous variables. What's the probability that a user is an outlier on at least one variable?
LinkedIn has tested a new UI with the goal to increase the number of likes per user. They test it by giving the new UI to a random subset of users.
Describe one example of a classification problem where the cost of a false positive is way higher than false negative as well as the other way round
How to calculate for how long I should run an A/B test?
Suddenly, our dashboard shows that the number of picture uploads per day by Internet Explorer users went to zero. What could be the reason?
LinkedIn has launched its first version of the People You May Know Feature. How would you isolate the impact of the algorithm behind it w/o considering the UI change effect?
How would you find out if someone put a fake school on LinkedIn? I.e. they actually didn't attend it
You are supposed to run an A/B test for 3 weeks based on sample size calculation. But after 1 week, p-value is already significant with test winning. So your product manager pressures you to stop the test and declare it a winner. What would you tell her? Explain in layman's terms
What are the issues with splitting a small dataset (<1K events) in training/test set? What would you do then?
Using LinkedIn data, how would you predict when someone is going to change job? Assume you can use all LinkedIn user activity data
Between the following two metrics, which one would you choose to measure response time of an inquiry at Airbnb: percentage of responses within 16 hrs or average response time considering only responses within 16 hrs?
At FB, we found out that users with filled out profile infos (age, hometown, etc.) are more engaged than those without. Therefore, we figure out a way to fill out those infos automatically for all users hoping it would improve engagement. However, engagement barely changes. Why?
You ran an A/B test last year and it lost. When would it make sense to re-run the same test today?
How would you identify if an advertiser is using clickbait techniques without having a dataset with labeled events?
What are the most important parameters in a Random Forest?
In on-line gaming companies, do you expect the average revenue per user to be larger or smaller than the median revenue per user?
How would you increase revenue from advertising clicks if you were working for an ads company (i.e. Google, FB, etc.)?
Give an example of a site change that we can't test on a subset of users via a controlled experiment. How would you estimate the impact of that change?
Additional product DS questions included in the full course
Follow up steps to prepare for the interview
Airbnb wishlist feature
Categorizing Coding Questions
How does the data science coding interview work?
Course prerequisites and material to build the foundations
Recurring themes - Growth metrics
Recurring themes - Percentile, top X, or ranking
Recurring themes - Dealing with dates
Recurring themes - Bidirectional connections between users
Recurring themes - When does code optimization actually matter in interviews?
Recurring themes - Threshold-based metrics
Specific job interview advice
Coding questions with solutions
A framework to solve them all
Calculate user churn
Create user sessions
Identify fraudulent advertisers
Total messages exchanged
Ranking users within groups
A specific approach for the median
Time delta between consecutive events
Find the first power user
Calculate total and running values
Final recommendations on SQL-like questions
Probability Coding Questions
Overview of probability coding questions
Calculate the expected number
Calculate the probability of winning a game
INSIGHTS: Conversion Rate with solution
A/B TESTING: Spanish Translation with solution
INSIGHTS: Employee Retention with solution
ML: Identifying Fraudulent Activities with solution
INSIGHTS: Funnel Analysis
A/B_TESTING: Pricing Test
ML: Email Marketing Campaign
ML: Song Recommendation
ML: Clustering Grocery Items
ML: Credit Card Transactions
A/B TESTING: User Referral Program
ML: Applying for a loan
INSIGHTS: Sessionize user activity
ML: Optimization of Employee Shuttle Stops
INSIGHTS: Workplace Diversity Analysis
METRICS: Hotel Search Data
A/B TESTING: Engagement Test
INSIGHTS: Video Sharing Analysis
INSIGHTS: Subscription Retention Rate
METRICS: Ads Analysis
Teach online with
FB - Should we add a love button?
Lesson content locked
If you're already enrolled,
you'll need to login
Enroll in Course to Unlock