I have a square, and place three dots along the 4 edges at random. (1) What is the probability that the dots, when connected, do not form a triangle? (2) what is the probability that the dots lie on distinct edges?
Java Interview Questions
6,581,492 interview questions shared by candidates
Toss 4 coins - probability of more than 2 heads - expected winnings if $1 for each heads - expected winnings if can re-toss 1 coin if chosen 1 20 sided die - player A and B both choose a number. Whoever's number closest to value of the die wins the amount on the die. - optimal strategy? do you want to go first? - what is the expected winnings?
roll a 30-sided die (Number 1-30) many times and add all up the outcomes. stop rolling when the sum >= 300. what's the most likely result of the sum?
How many times does the digit 1 appear in all numbers from 1-1000000 inclusive
3 pancake. one is with both sides burned, one is with one side burned, the last one with no sides burned. Combined them in a plate. The top side is burned. what is the probability of the other side is burned?
What is your dream job ?
If you had a brand, unique to you, what would that brand be and why?
Interviewer ask me to solve some permutation related problems. 1) Algorithm to get Index of a permutation when all permutations arranged in lexicographical order and its complexity
You have a 64bit interger counter set to 0. How long it will take to overflow the counter given that you are incrementing it at 4Ghz speed.
integer partiontioing given N (a integer) how many ways you can write as N summation of other numbers 5 = 1+ 2 +2 = 2+ 2 + 1 = 1 + 3 +1 = 1 + 4 etc.. write C code to print every combination
Viewing 2311 - 2320 interview questions