* 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 *
MISSING VALUE Interview Questions
6,580,659 interview questions shared by candidates
How do you make 4 gallons from a 3 and 5 gallon jug?
All, if not most are here on glassdoor.
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?
If you were a brick in a wall which brick would you be and why?
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.
Given a set of n jobs with [start time, end time, cost] find a subset so that no 2 jobs overlap and the cost is maximum ?
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
Python : fill in the blank(edge case of input list : None , []) ,find count of letter in a string , uncommon words between 2 strings.
Viewing 2061 - 2070 interview questions