Multiple Solutions to Data Scientist Interview Question From Amazon [Rolling Average] @stratascratch
Multiple Solutions to Data Scientist Interview Question From Amazon [Rolling Average]  @stratascratch
Uploaded October 2021 | Updated September 2026, 8 hours ago
This data scientist interview question comes from Amazon and it’s really an interesting question that deals with rolling average, the type of average that we calculate from values in a certain timeframe and we repeat it for all dates in a longer time period.

Link to the question to follow along with me: platform.stratascratch.com/coding/10314-revenue-over-time?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:28​​)
Framework to solve the problem: (1:40​​​)
Understand your data: (2:36​​​)
Formulate your approach: (6:12​​​)
Common table expressions and interval function: (7:09​​​)
Window Function Approach: (20:35​​​)
Comparison of approaches / Optimization discussion: (25:45​​​)
Conclusion: (28:08​​​)
______________________________________________________________________

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
______________________________________________________________________


#AmazonDataScientistInterview
Multiple Solutions to Data Scientist Interview Question From Amazon [Rolling Average]Analyzing Datasets with Window Functions: First Value Syntax and ExamplesSolving an Airbnb Data Science Coding Interview Question | SQL Interview  [Fav Host Nationality]Sorting and Ranking Data in Python: An Overview of the Rank() Function[Part 2]: Exploring Decision Tree Classifiers For A Facebook Data Science Project of Movie Ratings[Part 3]: Random Forest Classifier For A Facebook Data Science Project of Movie RatingsTop 5 Data Science Project Ideas in 2022 to Stay Up To Date as a Data ScientistData Science Degrees vs. Certification Courses: Which is Right for You?Theres No Such Thing as an ML JobSQL interview: How many Twitch viewers became streamers?3 Simple Steps to Solve Noom SQL Interview QuestionsTools for the data scientists working at scale
StrataScratch |

Multiple Solutions to Data Scientist Interview Question From Amazon [Rolling Average]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER