MISSING VALUE Interview Questions

6,571,877 interview questions shared by candidates

""" # Question 2: # Fill in the blanks # # Given an array containing None values fill in the None values # with most recent non None value in the array # # For example: # - input array: [1,None,2,3,None,None,5,None] # # - output array: [1,1,2,3,3,3,5,5] #
avatar

Data Engineer

Interviewed at Meta

3.6
Jun 8, 2020

""" # Question 2: # Fill in the blanks # # Given an array containing None values fill in the None values # with most recent non None value in the array # # For example: # - input array: [1,None,2,3,None,None,5,None] # # - output array: [1,1,2,3,3,3,5,5] #

1) Provided a table with user_id and dates they visited platform, find the top 100 users with the longest continuous streak of visiting the platform as of yesterday. 2) Provided a table with page_id, event timestamp and a flag for a state (which is on/off), find the number of pages that are currently on.
avatar

Data Scientist

Interviewed at Meta

3.6
Apr 29, 2020

1) Provided a table with user_id and dates they visited platform, find the top 100 users with the longest continuous streak of visiting the platform as of yesterday. 2) Provided a table with page_id, event timestamp and a flag for a state (which is on/off), find the number of pages that are currently on.

A Russian gangster kidnaps you. He puts two bullets in consecutive order in an empty six-round revolver, spins it, points it at your head and shoots. *click* You're still alive. He then asks you, do you want me to spin it again and fire or pull the trigger again. For each option, what is the probability that you'll be shot?
avatar

Internet Marketing Analyst

Interviewed at Meta

3.6
Mar 19, 2013

A Russian gangster kidnaps you. He puts two bullets in consecutive order in an empty six-round revolver, spins it, points it at your head and shoots. *click* You're still alive. He then asks you, do you want me to spin it again and fire or pull the trigger again. For each option, what is the probability that you'll be shot?

Implement a function string balanceParanthesis(string s); which given a string s consisting of some parenthesis returns a string s1 in which parenthesis are balanced and differences between s and s1 are minimum. Eg - "(ab(xy)u)2)" -> "(ab(xy)u)2" ")))(((" -> ""
avatar

Software Engineer

Interviewed at Meta

3.6
Aug 9, 2011

Implement a function string balanceParanthesis(string s); which given a string s consisting of some parenthesis returns a string s1 in which parenthesis are balanced and differences between s and s1 are minimum. Eg - "(ab(xy)u)2)" -> "(ab(xy)u)2" ")))(((" -> ""

Viewing 581 - 590 interview questions

Glassdoor has 6,571,877 interview questions. Prepare for your interview. Get hired. Love your job.