Data Scientists Interview Questions

54,235 data scientists interview questions shared by candidates

You are playing a coin game between yourself and an opponent on a round table. The object is to place coins one after another until the table is filled with a single layer of coins. Would you go first or second and why?
avatar

Scientist 2

Interviewed at Thermo Fisher Scientific

3.5
Aug 21, 2020

You are playing a coin game between yourself and an opponent on a round table. The object is to place coins one after another until the table is filled with a single layer of coins. Would you go first or second and why?

I cannot reveal the questions I got asked. But here's some that has very similar flavor: 1) Check if an integer is a palindrome (do not convert the integer to string) 2) Given 2 sorted arrays of integers, code to find a number from each array such that their sum are closest to some integer K? 3) What is the degree of freedom for lasso?
avatar

Data Scientist

Interviewed at Adobe

4.1
Apr 24, 2015

I cannot reveal the questions I got asked. But here's some that has very similar flavor: 1) Check if an integer is a palindrome (do not convert the integer to string) 2) Given 2 sorted arrays of integers, code to find a number from each array such that their sum are closest to some integer K? 3) What is the degree of freedom for lasso?

You have a function which gets k as input and in o(1) time returns a random number between 1 to k. Create a function that returns a random permutation (a list of the numbers 1 to n in a random order), optimize for speed (I think O(n) is best).
avatar

Data Scientist

Interviewed at Pagaya

3.3
Dec 22, 2020

You have a function which gets k as input and in o(1) time returns a random number between 1 to k. Create a function that returns a random permutation (a list of the numbers 1 to n in a random order), optimize for speed (I think O(n) is best).

Viewing 381 - 390 interview questions

Glassdoor has 54,235 interview questions and reports from Data scientists interviews. Prepare for your interview. Get hired. Love your job.