filmov
tv
Solving a SQL Interview Question by FACEBOOK | (Data Science Interview) SMS Confirmations From Users

Показать описание
This SQL data science interview question was asked by Facebook. I’ll cover both the question and answer and give a detailed explanation of the approach. I walkthrough each step of my answer, assumptions, approach, and explain every line of code I write. This is literally how I would answer every data science interview question and prepare for every data science interview at FAANG companies and others.
The question has multiple steps including applying a LEFT JOIN to multiple database tables, using a NOT IN to filter out rows based on values you want to exclude in the final answer,, and using the SQL count() function to help calculate a percentage. This question covers concepts that are commonly found in data science interviews at Facebook and Google.
______________________________________________________________________
______________________________________________________________________
Timestamps:
Intro: (0:00)
Question: (0:14)
Exploring the Data: (0:57)
Writing Out The Approach: (2:32)
Coding The Solution: (5:14)
______________________________________________________________________
About The Platform:
I'm using StrataScratch, a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and python), statistics, probability, product sense, and business cases.
I created this platform because I wanted to build a resource to specifically help prepare data scientists for their technical interviews and to generally improve their analytical skills. Over my career as a data scientist, I never was able to find a dedicated platform for data science interview prep. LeetCode and HackerRank were the closest but these platforms specifically serve the computer developer community so their questions focus more on algorithms that working with data.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
______________________________________________________________________
The question has multiple steps including applying a LEFT JOIN to multiple database tables, using a NOT IN to filter out rows based on values you want to exclude in the final answer,, and using the SQL count() function to help calculate a percentage. This question covers concepts that are commonly found in data science interviews at Facebook and Google.
______________________________________________________________________
______________________________________________________________________
Timestamps:
Intro: (0:00)
Question: (0:14)
Exploring the Data: (0:57)
Writing Out The Approach: (2:32)
Coding The Solution: (5:14)
______________________________________________________________________
About The Platform:
I'm using StrataScratch, a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and python), statistics, probability, product sense, and business cases.
I created this platform because I wanted to build a resource to specifically help prepare data scientists for their technical interviews and to generally improve their analytical skills. Over my career as a data scientist, I never was able to find a dedicated platform for data science interview prep. LeetCode and HackerRank were the closest but these platforms specifically serve the computer developer community so their questions focus more on algorithms that working with data.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
______________________________________________________________________
Комментарии