Microsoft Interview Question






Comment hidden because of low score. Click to expand.
1
of 1 vote

h = 0*h + 1/2 *t
t = 1*h + 1/2 *t
h + t = 1

h = 1/3, t = 2/3.

- kitten August 23, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

@kitten can you explain ?

- cunomad August 24, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

easy.. the probability of getting a head is 0 when given a head (which is fliped) and 0.5 given a tail (which is throwed)
h = 0h + 0.5t
the probability of getting a tail is 1 when given a head (filped) and 0.5 with tail (throwed)
t = h + 0.5t
finally.. the whole probability of distribution of heads + tails is 1 because u dont have any other option
h + t = 1
easy..

- morepowerfull September 11, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

the ratio is 1:2 you moron

- Anonymous September 20, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I observe that you give snarky replies and hardly any solutions

- Anonymous September 22, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

cunomand stop using job seekers to solve your homework problems!

- Anonymous September 20, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

it's a simple markov chain...
use the following equations and solve.

pi = transpose(pi)*p
sigma(pi) = 1

where pi is probability matrix
| 0 1 |
|0.5 0.5|

- obersever February 08, 2011 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More