Data Scientist Interview Questions

40,238 data scientist interview questions shared by candidates

# Q1: Write a function to intersect two *sorted* lists (find common elements) # Write a method taking two lists as input, and returning a new list # You can assume you have a reasonable array/list class available (ArrayList, vector, python list, etc) # Ex: # l1 = [1,2,3,4,5] # l2 = [1,5,7,11,100] # result = [1,5]
avatar

Software Engineer/Data Scientist

Interviewed at Tripadvisor

3.6
Oct 29, 2014

# Q1: Write a function to intersect two *sorted* lists (find common elements) # Write a method taking two lists as input, and returning a new list # You can assume you have a reasonable array/list class available (ArrayList, vector, python list, etc) # Ex: # l1 = [1,2,3,4,5] # l2 = [1,5,7,11,100] # result = [1,5]

The first round questions included basic dataframe manipulations, a regex question on writing a pattern to identify specific phrase which could have any number of random words in between (eg. between high and calorie, there could be any number of words upto 4 eg. high word1 calorie, high word1 word2 calorie' etc). This also needed some basic preprocessings like handling unidecode errors, punctuations and numbers in a string. Another question was a probability based descriptive question and a easy question on coding to print numbers between 0 to 100 which were prime.
avatar

NLP Data Scientist

Interviewed at American Express

4.1
Jan 6, 2022

The first round questions included basic dataframe manipulations, a regex question on writing a pattern to identify specific phrase which could have any number of random words in between (eg. between high and calorie, there could be any number of words upto 4 eg. high word1 calorie, high word1 word2 calorie' etc). This also needed some basic preprocessings like handling unidecode errors, punctuations and numbers in a string. Another question was a probability based descriptive question and a easy question on coding to print numbers between 0 to 100 which were prime.

Viewing 211 - 220 interview questions

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