There are two racks, X and Y. X contains red (R) socks with probability 0.4 and black (B) socks with probability 0.6. Y contains R with probability 0.7 and B with probability 0.3. I pick a rack randomly. From that rack, I pick 2R. What is the probability that those 2R come from rack X?
C Interview Questions
6,585,362 interview questions shared by candidates
Give an array that has only the values 1, 2 or 3, sort the array in place.
How would you measure the weight of the earth?
name a time you were unable to keep a deadline
Puzzle question: A Floating ship contains 1 stone , If I drop that stone in sea,,What will happen with water level??? Is it increase or decrease n why??
You begin with $100. You flip a fair coin. Heads, you get 1$. Tails, your money gets inversed (i.e. first tails, your money is now 1/100). What is the expected value after 7 flips? (hint: recursion)
What's the angle between the two arms of a clock when it is at 2:30?
You have 100 marbles, 50 are blue, 50 are red. You want to distribute them between two drawers, in such a way that none is left outside and no drawer is left empty. After distributing them you are gonna select a drawer randomly and from that drawer you are gonna remove one marble randomly. How do you distribute the marbles in such a way that the probability of getting a red marble is maximized?
How do you select 5 random numbers that add up to 1
How would you handle a rude customer?
Viewing 2801 - 2810 interview questions