Given a random generator that produces a number 1 to 5 uniformly, write a function that produces a number from 1 to 7 uniformly or something like that.
Data Interview Questions
132,700 data interview questions shared by candidates
16p + 1 = x^3, and p is a prime number. What is x?
Given three tables, user_dimension (user_id and account_id), account_dimension (account_id and paying_customer), and download_facts (date, user_id, and downloads), find the average number of downloads for free vs paying customers broken out by day.
Python Questions - 1) Print Max element of a given list 2) Print median of a given list 3) Print the first nonrecurring element in a list 4) Print the most recurring element in a list 5) Greatest common Factor
SQL Select the value of a column based on the max of a different column from each grouping of yet a third column. Column A, Column B, Column C. For each group based on Column A, give value of Column B, where Column C is max for that group.
SQL part1 Question # 1 : you have the following table - User_id , action (post, edit, cancel) , date == > what is the post rate Question # 2 : you have also the following table (active users) - User_id , country , active , date == > What is the average post rate for yesterday for all active users by country
How can you tell if a given coin is biased?
Lets say the population on Facebook clicks ads with a click-through-rate of P. We select a sample of size N and examine the sample's conversion rate, denoted by hat{P}, what is the minimum sample size N such that Probability( ABS(hat{P} - P) < DELTA ) = 95%. In other words (this is my translation), find the minimum sample size N such that our sample estimate hat{P} is within DELTA of the true click through rate P, with 95% confidence.
Given 25 swimmers and a pool with five lanes, what is the minimum number of heats needed to determine the three fastest swimmers in the group?
If you have 10 bags of marbles with 10 marbles each and one bag has marbles that weigh differently than the others, how would you figure it out from one weighing
Viewing 71 - 80 interview questions