This Data Science SQL interview question is from Microsoft, and tests your ability to write window functions to rank data. 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.
Go to the question through the link below and follow along with me.
Link to the question: https://platform.stratascratch.com/coding/2026-bottom-2-companies-by-mobile-usage?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:31)
Framework to solve the problem: (
1:25)
Understand your data: (
2:33)
Formulate your approach: (
5:05)
Code Execution: (
7:09)
Code Optimization: (
15:54)
Conclusion: (
18:10)
______________________________________________________________________
About The Platform:
I'm 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
[email protected]
______________________________________________________________________
#MicrosoftDataScienceInterview