Data Scientist Interview Questions

40,238 data scientist interview questions shared by candidates

Write a program in Python to calculate tax if Salary and Tax Brackets are given as list in the form [ [10000, .3],[20000, .2], [30000, .1], [None, .1]]. You don’t know in the beginning how many tax brackets are there. You have to test for all of them.
avatar

Data Scientist Infrastructure

Interviewed at Meta

3.6
Apr 1, 2018

Write a program in Python to calculate tax if Salary and Tax Brackets are given as list in the form [ [10000, .3],[20000, .2], [30000, .1], [None, .1]]. You don’t know in the beginning how many tax brackets are there. You have to test for all of them.

Given an event-level table of interactions between pairs of users (note that there aren't duplicates in one day for one pair of users), for each possible number of "people interacted with" find the count for that group in a given day (i.e. 10 people interacted with only one person, 20 with 2, etc.).
avatar

Data Scientist

Interviewed at Meta

3.6
Nov 17, 2017

Given an event-level table of interactions between pairs of users (note that there aren't duplicates in one day for one pair of users), for each possible number of "people interacted with" find the count for that group in a given day (i.e. 10 people interacted with only one person, 20 with 2, etc.).

Viewing 141 - 150 interview questions

Glassdoor has 40,238 interview questions and reports from Data scientist interviews. Prepare for your interview. Get hired. Love your job.