Data Interview Questions

132,958 data 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.5
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]

Implement a library function which takes a collection of integers (Collection<Integer>) computes its sum and returns the result. The implementation must establish preconditions which ensure lack of runtime error(s). Implement the above function using recursion only.
avatar

Data Engineer

Interviewed at impact.com

3.7
Aug 9, 2018

Implement a library function which takes a collection of integers (Collection<Integer>) computes its sum and returns the result. The implementation must establish preconditions which ensure lack of runtime error(s). Implement the above function using recursion only.

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 471 - 480 interview questions

Glassdoor has 132,958 interview questions and reports from Data interviews. Prepare for your interview. Get hired. Love your job.