Uploaded April 2021 | Updated September 2026, 2 hours ago
This data science SQL interview question is from Facebook and Microsoft that tests your ability to find and segment users as well as join aggregated tables together. Let's walk through solving this question as we do in the interview.
Link to the question: platform.stratascratch.com/coding/2028-new-and-existing-users?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
______________________________________________________________________
π Subscribe to my channel: bit.ly/2GsFxmAβββ
π Playlist for more data science interview questions and answers: bit.ly/3jifw81βββ
π Playlist for data science interview tips: bit.ly/2G5hNoJβββ
π Practice more real data science interview questions: platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
______________________________________________________________________
Timeline:
Intro: (0:00βββ)
Interview Question: (0:32βββ)
5 Step Framework: (1:20βββ)
Explore the Data: (2:06βββ)
List Assumptions: (2:40βββ)
Outline Approach: (5:20βββ)
Code in Increments: (7:32βββ)
Calculate New Users: (7:50βββ)
Calculate All Users: (11:02)
Join Tables: (11:36βββ)
Calculate User Share: (12:54βββ)
Optimize Code: (14:15βββ)
Conclusion: (16:20βββ)
______________________________________________________________________
About The Platform:
I'm using StrataScratch (platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+linkβββ), 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.
So, if you want more interview practice with real data science interview questions, visit platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+linkβββ. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
______________________________________________________________________
#SQLInterview
This data science SQL interview question is from Facebook and Microsoft that tests your ability to find and segment users as well as join aggregated tables together. Let's walk through solving this question as we do in the interview.
Link to the question: platform.stratascratch.com/coding/2028-new-and-existing-users?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
______________________________________________________________________
π Subscribe to my channel: bit.ly/2GsFxmAβββ
π Playlist for more data science interview questions and answers: bit.ly/3jifw81βββ
π Playlist for data science interview tips: bit.ly/2G5hNoJβββ
π Practice more real data science interview questions: platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
______________________________________________________________________
Timeline:
Intro: (0:00βββ)
Interview Question: (0:32βββ)
5 Step Framework: (1:20βββ)
Explore the Data: (2:06βββ)
List Assumptions: (2:40βββ)
Outline Approach: (5:20βββ)
Code in Increments: (7:32βββ)
Calculate New Users: (7:50βββ)
Calculate All Users: (11:02)
Join Tables: (11:36βββ)
Calculate User Share: (12:54βββ)
Optimize Code: (14:15βββ)
Conclusion: (16:20βββ)
______________________________________________________________________
About The Platform:
I'm using StrataScratch (platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+linkβββ), 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.
So, if you want more interview practice with real data science interview questions, visit platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+linkβββ. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
______________________________________________________________________
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
______________________________________________________________________
#SQLInterview


![Data Science SQL Scenario Based Interview Question [Facebook] - Date Manipulation
This Data Science SQL interview question is from Facebook, and tests your ability to filter out data based on date conditionals. Iβll walk you through solving the question like weβre in an interview and give you some tips on how to approach the solution as well as how to efficiently and effectively communicate with your interviewer.
Go to the question through the link below and follow along with me.
Link to the question: https://platform.stratascratch.com/coding/2004-number-of-comments-per-user-in-past-30-days?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
π Subscribe to my channel: https://bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: https://bit.ly/3jifw81
π Playlist for data science interview tips: https://bit.ly/2G5hNoJ
π Practice more real data science interview questions: https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
Timeline:
Intro: (0:00βββ)
Interview Question: (0:33ββ)
Framework to solve the problem: (1:08βββ)
Understand your data: (2:25βββ)
Formulate your approach: (4:16βββ)
Code Execution: (6:15βββ)
Additional Technical Concepts: (11:56βββ)
Conclusion: (14:40βββ)
About The Platform:
Im using StrataScratch (https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link), 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.
So, if you want more interview practice with real data science interview questions, visit https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
#FacebookDataScienceInterview Data Science SQL Scenario Based Interview Question [Facebook] - Date Manipulation](https://i.ytimg.com/vi/yY7yau9j3xk/mqdefault.jpg)

![Edge Case Alert in Python Interview Question Solving [Part 2]
In this video, well discuss how to solve a Meta interview question that involves filling the null values with zeros. By learning this technique, youll be able to identify and solve problems by using the fillna() function. So be sure to subscribe to our channel and stay up to date on the effective approach for solving Python interview questions.
Part 1: https://www.youtube.com/shorts/9quwCoQ6CoU
Go to the question through the link below and follow along with meπ
Link to the question: https://platform.stratascratch.com/coding/2123-product-families?code_type=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
π Watch the full video: https://youtu.be/RmMuS5iiviI
π Subscribe to my channel: https://bit.ly/2GsFxmA
π Playlist for more data science interview questions and answers: https://bit.ly/3jifw81
π Playlist for data science interview tips: https://bit.ly/2G5hNoJ
π Practice more real data science interview questions: https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link
About The Platform:
Im using StrataScratch (https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link), 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.
So, if you want more interview practice with real data science interview questions, visit https://platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.
Contact:
If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
#DataAnalytics #PythonInterviewQuestions #Stratascratch Edge Case Alert in Python Interview Question Solving [Part 2]](https://i.ytimg.com/vi/yoUO84tOH3c/mqdefault.jpg)
