Back to Browse

Solving an Airbnb Data Science Coding Interview Question | SQL Interview [Fav Host Nationality]

8.6K views
Nov 11, 2020
11:42

This SQL data science interview question was asked by Airbnb. 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. Link to the question: https://platform.stratascratch.com/coding/10073-favorite-host-nationality?python=&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link The question has many concepts that are always tested during a data science interview. This SQL interview question requires 3 JOINs and 2 subqueries. There are some tricks tested where you have to identify the highest review score using the SQL max() function. And lastly, this coding interview question tests your knowledge on how to de-duplicate data.. This question covers concepts that are commonly found in data science interviews at Facebook and Google. ______________________________________________________________________ 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. These are real data science interview questions. For some background context and an intro about what this series is about: https://bit.ly/36kKbxG 👉 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 ______________________________________________________________________ Timestamps: Intro: (0:00) Interview Question: (0:10) Explore Dataset: (0:35) Writing Out Approach: (01:57) Coding The Solution: (4:40) 2nd Solution!: (10:41) ______________________________________________________________________ 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. 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] ______________________________________________________________________

Download

0 formats

No download links available.

Solving an Airbnb Data Science Coding Interview Question | SQL Interview [Fav Host Nationality] | NatokHD