Data Science Internship Interview Questions

10,325 data science internship interview questions shared by candidates

You are given a Binary Search Tree of ints with duplicate entries. You are guaranteed that if an element has a duplicate entry, it is in the right subtree of that element. Write a function to count the total number of duplicates. (note, if a tree contains the same element two times, the count of duplicates is 1, not 2)
avatar

Computer Science Intern

Interviewed at Amazon

3.5
Jan 18, 2012

You are given a Binary Search Tree of ints with duplicate entries. You are guaranteed that if an element has a duplicate entry, it is in the right subtree of that element. Write a function to count the total number of duplicates. (note, if a tree contains the same element two times, the count of duplicates is 1, not 2)

Interview 1: 1) Algorithms Question -- How would you solve this array problem? Can you do it in O(n) time? Then write the code 2) Do you have any questions? Interview 2: Talk about your experiences--particularly in data science or machine learning
avatar

Intern, Data Science

Interviewed at Adobe

4.1
Apr 21, 2016

Interview 1: 1) Algorithms Question -- How would you solve this array problem? Can you do it in O(n) time? Then write the code 2) Do you have any questions? Interview 2: Talk about your experiences--particularly in data science or machine learning

Questions from algebra, algorithms and data science. Writing Python code to solve some simple tasks like creating a counter of distinct elements from a list, an algorithm to compute a^b without using the ** operator in Python.
avatar

Data Science Intern

Interviewed at Spoonshot

4.7
Sep 13, 2021

Questions from algebra, algorithms and data science. Writing Python code to solve some simple tasks like creating a counter of distinct elements from a list, an algorithm to compute a^b without using the ** operator in Python.

Viewing 31 - 40 interview questions

Glassdoor has 10,325 interview questions and reports from Data science internship interviews. Prepare for your interview. Get hired. Love your job.