Expedia Interview Question for Software Engineer / Developers






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

As stated equal probability for each sum.
Since 36 combinations are possible 36/12 = 3 each sum should occur 3 times for equal probability.
1 initially was occurring 0 times, so to occur 3 times there should be 3 zeros in second dice.
Now 12 should also occur 3 times, that can be only possible with 6,6 combinations
which means 6 should also be present 3 times in the other dice.

0 0 0 6 6 6

- PR October 07, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Ans. Label should be 0 0 0 6 6 6

- oxygen September 18, 2007 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

good one...

- Anonymous August 29, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

great & simple

- Anonymous March 02, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

I think this can be done by labeling 3 faces of the dice with 0 and remainning 3 with 6..

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

Without relabelling, what is the probability of getting numbers from 1 to 12?
I think it is 1/12 (1/6 X 1/6)
So, if relabelling is a must, then i would just shift it...
1 2 3 4 5 6 to 2 3 4 5 6 1
Does my logic look fit? :-S

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

Without relabelling, what is the probability of getting numbers from 1 to 12?
I think it is 1/12 (1/6 X 1/6)
So, if relabelling is a must, then i would just shift it...
1 2 3 4 5 6 to 2 3 4 5 6 1
Does my logic look fit? :-S

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

How stupid am I !!! :(
Did not read the question correctly... i 'oxygen' is right

- Ray September 15, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 0 vote

Hmmmm. Well, as stated, the simplest solution is to just relabel the dice with all zeros. The problem states that the sum must be between 1 and 12. Well, from 1 to 6 is between 1 and 12. Since every number on the untampered dice is of equal probability, and the tampered dice is guaranteed to show 0, we have satisfied the equal probability part as well.

I realize that we are "playing" a bit with the problem definition. However, stating that the sum must be "between 1 and 12" IS ambiguous...

- Me October 29, 2007 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

"Me" Next time u appear for a written and wen u see this question.. Dont answer it.. Instead write on d answer sheet that question is ambiguous..

- Anonymous September 05, 2008 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

hahaha u r such an ass

- anon September 12, 2008 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

and let the other guys take the job...and you keep salivating like a doggie...he he he...if 50% of current job seekers start thinking your ways, how easier it'll become for the rest 50% to land a good job...sounds cooooooooool...

- MrSmartyPants July 17, 2009 | Flag


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