Ace your data science interview

Join thousands of other members and get a free weekly interview question delivered right to your inbox!

No spam. Easy unsubscribe.

  • Crack the Data Science Interview

    Learn how to solve data science interview questions by practicing questions each week
  • Exclusive Take-Home Challenges

    Get insider access to the interview process by working on take-home challenges from top companies
  • Land Your Dream Job

    Ace your interview and land your dream data job in data science, analytics, and machine learning

In-depth solutions from companies hiring data scientists

How Interview Query Works

  • 1

    Practice Data Science Interview Questions

    Data science interviews are extremely difficult given the wide breadth of topics to study for and lack of consistency. Fortunately, that's why we're here to help.

    We source over 250+ interview questions questions from top tech companies ranging from SQL problems, algorithms, machine learning theory, product & business intuition, statistics, probability, and more.

  • 2

    Get Exclusive Interview Insights

    Focus your studying and practice only the most relevant questions for your dream role and company.

    On Interview Query you can specify problems asked for various data science positions, interview question topics, and level of difficulty.

  • 3

    Land Your Dream Job

    Upgrade to the full course and learn the right way to think with help from our in-depth solutions and problem solving strategies.

    You'll get exclusive access to our full interview question bank, data science take-home challenges, video course and mock interview content, and community of data science candidates and professionals.

Emoji happy

Sample a data science interview question

Get the solution via email

Given a users table and a user_comments table, write a SQL query to generate a histogam of number of comments per user in the month of January 2019. Assume bin buckets intervals of one.

`users` table
columns type
id int
name varchar
joined_at datetime
city_id int
device int
`user_comments` table
columns type
user_id int
body text
created_at datetime

This question was asked by

Where do you fall on the distribution?

Try our data science quiz to see where you fall on the distribution compared to other data scientists.

Join thousands of other data scientists

  • Never Prepare Alone

    Get ready for your next interview with our community of data science mentors and professionals as we land our dream jobs.
  • Insider Information

    Get insider details on the interview processes at various top tech companies.
A group of positive emoji
The Interview Query question bank definitely helped me see the commonalities in each question for different companies and cleared up how to efficiently spend my time studying.

Jerry K.

Machine Learning Engineer @ US Bank

Sign up for free problems every week!