Tricky Data Science Interview Question [By Facebook] @stratascratch
Tricky Data Science Interview Question [By Facebook]  @stratascratch
Uploaded December 2020 | Updated September 2026, 30 minutes ago
Today we'll cover a tricky data science interview question asked by Facebook. It's not so much a tricky problem as it is a problem with a non-obvious solution. But these types of questions are asked all the time on interviews because they're scenarios that you'd have to handle everyday as a data scientist. Let's cover what this question's all about. Follow along with me by going to the question below.

Link to question: platform.stratascratch.com/coding/10064-highest-energy-consumption?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link

______________________________________________________________________

This series is for both beginner and intermediate data scientists and analysts interested in learning how to solve common data science interview questions in SQL.

πŸ‘‰ Subscribe to my channel: bit.ly/2GsFxmA
πŸ‘‰ Playlist for more data science interview questions and answers: bit.ly/3jifw81
πŸ‘‰ Practice more real data science interview questions: platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link

______________________________________________________________________
Timestamps:

Intro: (0:00)
Question: (1:40)
Exploring the datasets: (2:03)
The 1st trick!: (2:40)
Write out approach: (4:34)
The 2nd trick!: (5:35)
Coding the solution: (6:35)
Conclusion: (10:50)
______________________________________________________________________
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.

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

#sql #datascience #sqlinterviews
Tricky Data Science Interview Question [By Facebook]The Data Science Skill No One Teaches (But Everyone Needs)Group By & Aggregate Functions to Solve Python Coding QuestionsUsing IFNULL() Function in MySQL to Avoid Null Value ErrorsWorking with APIs in Python [For Your Data Science Project]2026 Trends in Data Science EfficiencyHard SQL Interview Question from Wine MagazineHow Most Analysts Get Retention Wrong in SQLHow To Use Python Window Functions | Solving Amazon Data Science Interview QuestionHow To Handle Multicollinearity and Feature Selection [DoorDash Data Science Project]An Analysis of 900 Data Science Interview Questions | Data Science Interview GuideWhen Not to Use Machine Learning
StrataScratch |

Tricky Data Science Interview Question [By Facebook]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER