Data Scientist Python Interview Questions

40,238 data scientist python interview questions shared by candidates

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).

What are different Time Series forecasting techniques? Explain PCA with equations? How to solve Multicollinearity? What algorithm you would use to solve driver accepting a requesting? Which supervised algorithm you would pick to solve the above problem? How do you compare the results of the algorithm? Coding question on patients arriving at hospital and doctor attending the patients
avatar

Data Scientist

Interviewed at Uber

3.7
May 18, 2016

What are different Time Series forecasting techniques? Explain PCA with equations? How to solve Multicollinearity? What algorithm you would use to solve driver accepting a requesting? Which supervised algorithm you would pick to solve the above problem? How do you compare the results of the algorithm? Coding question on patients arriving at hospital and doctor attending the patients

Viewing 311 - 320 interview questions

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