MISSING VALUE Interview Questions

6,580,659 interview questions shared by candidates

* Given an array of numbers. Create another array that contains * the product of all the members in the array except the current * element. For example, if you have an array of 3 elements such as: * * A[0] = 2 * A[1] = 4 * A[2] = 6 * * Then the resulting array will be * B[0] = 24 * B[1] = 12 * B[2] = 8 *
avatar

Technical Account Manager

Interviewed at Google

4.4
Jan 11, 2011

* Given an array of numbers. Create another array that contains * the product of all the members in the array except the current * element. For example, if you have an array of 3 elements such as: * * A[0] = 2 * A[1] = 4 * A[2] = 6 * * Then the resulting array will be * B[0] = 24 * B[1] = 12 * B[2] = 8 *

Say I have a deck of 52 cards, regular deck of cards. I put a joker in the deck somewhere and shuffle it up. Now I start dealing you cards until the joker shows up. Once it shows up, I stop dealing you cards. What is the probability that you have, in your set of cards, all 4 aces?
avatar

Financial Software Developer

Interviewed at Bloomberg

4
Jun 29, 2012

Say I have a deck of 52 cards, regular deck of cards. I put a joker in the deck somewhere and shuffle it up. Now I start dealing you cards until the joker shows up. Once it shows up, I stop dealing you cards. What is the probability that you have, in your set of cards, all 4 aces?

Python questions: 1. Replace None value with previous value present in a list. 2. Given a ´dictionary, print the key for nth highest value present in the dict. If there are more than 1 record present for nth highest value then sort the key and print the first one. 3. Given two sentences, you have to print the words those are not present in either of the sentences.(If one word is present twice in 1st sentence but not present in 2nd sentence then you have to print that word too) 4. Forgot another question you have to pass all the cases, specially on edge cases. SQL questions: 1. Mostly % calculation, also refer the questions available here in Glassdoor. Next will be my Onsite Interview of 3.30hr. If anyone can help me on that or else I will update later on that interview as well.
avatar

Data Engineer

Interviewed at Meta

3.5
Mar 9, 2021

Python questions: 1. Replace None value with previous value present in a list. 2. Given a ´dictionary, print the key for nth highest value present in the dict. If there are more than 1 record present for nth highest value then sort the key and print the first one. 3. Given two sentences, you have to print the words those are not present in either of the sentences.(If one word is present twice in 1st sentence but not present in 2nd sentence then you have to print that word too) 4. Forgot another question you have to pass all the cases, specially on edge cases. SQL questions: 1. Mostly % calculation, also refer the questions available here in Glassdoor. Next will be my Onsite Interview of 3.30hr. If anyone can help me on that or else I will update later on that interview as well.

Let's pretend you are sending out emails to encourage SMB's to advertise with Facebook. Each email to each SMB costs $1. After you send the emails, .5% of the SMBs sign up. How much did you pay for each person that signed up? I had to keep asking clarification questions. "How many people did I send to?" Then he said, "Let's pretend there were 1,000." Then I got the answer from there... I believe it's just a way to assess how you think and not exactly to get the correct answer.
avatar

Online Marketing Specialist - SMB's

Interviewed at Meta

3.5
Feb 28, 2013

Let's pretend you are sending out emails to encourage SMB's to advertise with Facebook. Each email to each SMB costs $1. After you send the emails, .5% of the SMBs sign up. How much did you pay for each person that signed up? I had to keep asking clarification questions. "How many people did I send to?" Then he said, "Let's pretend there were 1,000." Then I got the answer from there... I believe it's just a way to assess how you think and not exactly to get the correct answer.

You have a 2-D array of friends like [[A,B],[A,C],[B,D],[B,C],[R,M], [S],[P], [A]] Write a function that creates a dictionary of how many friends each person has. People can have 0 to many friends. However, there won't be repeat relationships like [A,B] and [B,A] and neither will there be more than 2 people in a relationship
avatar

Data Engineer

Interviewed at Meta

3.5
Oct 31, 2018

You have a 2-D array of friends like [[A,B],[A,C],[B,D],[B,C],[R,M], [S],[P], [A]] Write a function that creates a dictionary of how many friends each person has. People can have 0 to many friends. However, there won't be repeat relationships like [A,B] and [B,A] and neither will there be more than 2 people in a relationship

Viewing 2061 - 2070 interview questions

Glassdoor has 6,580,659 interview questions. Prepare for your interview. Get hired. Love your job.