Given a function for a fair coin, write a function for a biased coin that returns heads 1/n times (n is a param).
Interns Interview Questions
248,188 interns interview questions shared by candidates
Why are you interested in this position?
(following the previous one) You got only TWO baby bottle sample. You would like to know the max height you can drop it without breaking the bottle. Let set the unit as 1 foot. And the highest height you can reach is at N feet. So how would you find the (max) safe height? (This is the one I think is kind of brain-teaser one.)
What if you could reflip 1 coin that you wanted. What would be the expected value then?
To write down code for x^n in O(logn) time.
How many ping pong balls can you fit in a school bus?
Second interview question: giving a phone number return all the number key combinations for that phone number
If you go 4 miles north and 3 miles south, what is the overall displacement?
Explain a situation in where your team was in trouble. What did you do to help the situation.
What type of lighting do you prefer? How much experience do you have with Photoshop? What are your biggest challenges? How do you get inspiration?
Viewing 91 - 100 interview questions