The Elsmar Cove Wiki More Free Files The Elsmar Cove Forums Discussion Thread Index Post Attachments Listing Failure Modes Services and Solutions to Problems Elsmar cove Forums Main Page Elsmar Cove Home Page

Go Back   The Elsmar Cove Forum > Elsmar Cove Forum Community Forums > Community Discussion Topics > Brain Teasers and Puzzles
Forum Username

Elsmar Cove Forum Visitor Notice(s)


Elsmar Cove Forum Sidebar
Custom Search
Monitor the Elsmar Forum
Monitor New Forum Posts
Follow Marc & Elsmar
Elsmar Cove Forum RSS Feed  Marc Smith's Google+ Page  Marc Smith's Linked In Page   Marc Smith's Elsmar Cove YouTube Page  Marc Smith's Facebook Page
Elsmar Cove Groups
Elsmar Cove Google+ Group  Elsmar Cove LinkedIn Group  Elsmar Cove Facebook Group
Sponsor Links







Donate and $ Contributor Forum Access
Sponsored Links
Courtesy Quick Links

Links that Elsmar Cove visitors will find useful in your quest for knowledge:


Howard's
International Quality Services

Atul's
Symphony Technologies

Marcelo Antunes'
SQR Consulting

Bob Doering's
Correct SPC - Precision Machining


NIST's Engineering Statistics Handbook

IRCA - International Register of Certified Auditors

SAE - Society of Automotive Engineers

Quality Digest Portal

IEST - Institute of Environmental Sciences and Technology

ASQ - American Society for Quality

Reply
 
Thread Tools Search this Thread Rate Thread Content Display Modes
  #1  
Old 17th April 2009, 01:31 PM
Yarik's Avatar
Yarik Yarik is offline
Involved in Discussions

 
Registration Date: Feb 2009
Location: Los Gatos, CA USA
Age: 46
 
Posts: 110
Thanks Given to Others: 145
Thanked 12 Times in 10 Posts
Karma Power: 29
Karma: 180
Yarik is appreciated, and has over 100 Karma points.Yarik is appreciated, and has over 100 Karma points.
I Say... Russian Roulette - Interviewer suggests to play imaginary Russian Roulette with you

Hi everyone,

This one is not very difficult, but I really like it (perhaps, because I'm Russian? )

Anyway, this is one of the (in)famous Microsoft's interview brain teasers that I think is actually quite good for an interview (assuming that the interviewee is expected to know the basics of logic and probability theory):
Interviewer suggest to play imaginary Russian Roulette with you.

Interviewer takes an imaginary revolver gun with 6 empty chambers, and loads 2 adjacent chambers with bullets.

Interviewer has the first turn: rolls the cylinder, puts it to his head, and pulls the trigger... no shot.

The lucky interviewer passes the gun to you and gives you two options before you put the gun to your head and pull the trigger:
(a) to roll the cylinder again
or
(b) not to roll the cylinder
Which option would you choose?

Bonus questions:
Which option would you choose if 2 bullets were placed into non-adjacent chambers?

Which option would you choose if it was a classic Russian Roulette - that is, if only one chamber was loaded?

Good luck,
Yarik.

Sponsored Links
  #2  
Old 17th April 2009, 02:01 PM
ScottK's Avatar
ScottK ScottK is offline
Not out of the crisis

 
Registration Date: Apr 2006
Location: Butler, NJ
 
Posts: 2,451
Thanks Given to Others: 170
Thanked 632 Times in 458 Posts
Karma Power: 284
Karma: 5184
ScottK is appreciated, and has over 1700 Karma points.
ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.ScottK is appreciated, and has over 1700 Karma points.
Re: Russian Roulette

Neither - I would flee from the interview the minute I saw a gun.
__________________
Time for a new sig line.
My LinkedIn Profile
Sponsored Links

  #3  
Old 17th April 2009, 02:03 PM
Craig H. Craig H. is offline
Inactive Registered Visitor

 
Registration Date: Jan 2002
Location: Mars
 
Posts: 2,054
Thanks Given to Others: 323
Thanked 310 Times in 239 Posts
Karma Power: 262
Karma: 5264
Craig H. is appreciated, and has over 1700 Karma points.
Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.
Re: Russian Roulette

OK, we know where one empty chamber is, and there are 3 remaining. The other two have a little surprise in them, but they are together, so only 1 counts. That means that there is a 1 in four (25%) chance that things will end badly if we do not spin.

On the other hand, if we re spin the cylinder, there is a 2 in 6, or 33.3%, chance that the thing will go boom. So, do not re spin.

If the bullets are separated, there will be a bullet next to 2 of the empty chambers. We already know where one of the empties is. If we do not spin, then the chance of a bad outcome on the next try is 2 out of 5, or 40%. If we do spin, the chances are 2 out of 6, or 33.3%.

Similarly, with 1 bullet, the interviewer "used up" one empty chamber, so spinning improves the odds from 1:5 to 1:6.

Right?
  #4  
Old 17th April 2009, 04:45 PM
Yarik's Avatar
Yarik Yarik is offline
Involved in Discussions

 
Registration Date: Feb 2009
Location: Los Gatos, CA USA
Age: 46
 
Posts: 110
Thanks Given to Others: 145
Thanked 12 Times in 10 Posts
Karma Power: 29
Karma: 180
Yarik is appreciated, and has over 100 Karma points.Yarik is appreciated, and has over 100 Karma points.
Re: Russian Roulette

Quote:
In Reply to Parent Post by Craig H. View Post

OK, we know where one empty chamber is, and there are 3 remaining. The other two have a little surprise in them, but they are together, so only 1 counts. That means that there is a 1 in four (25%) chance that things will end badly if we do not spin.

On the other hand, if we re spin the cylinder, there is a 2 in 6, or 33.3%, chance that the thing will go boom. So, do not re spin.

If the bullets are separated, there will be a bullet next to 2 of the empty chambers. We already know where one of the empties is. If we do not spin, then the chance of a bad outcome on the next try is 2 out of 5, or 40%. If we do spin, the chances are 2 out of 6, or 33.3%.

Similarly, with 1 bullet, the interviewer "used up" one empty chamber, so spinning improves the odds from 1:5 to 1:6.

Right?
Well, not exactly...

Would you like to try to reword (or revise) your reasoning? For example, the statement "we already know where an empty chamber is" is not correct. All you know is that "a chamber that is currently facing the barrel is next to an empty one".
  #5  
Old 17th April 2009, 04:53 PM
Craig H. Craig H. is offline
Inactive Registered Visitor

 
Registration Date: Jan 2002
Location: Mars
 
Posts: 2,054
Thanks Given to Others: 323
Thanked 310 Times in 239 Posts
Karma Power: 262
Karma: 5264
Craig H. is appreciated, and has over 1700 Karma points.
Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.Craig H. is appreciated, and has over 1700 Karma points.
Re: Russian Roulette

Quote:
In Reply to Parent Post by Yarik View Post

Well, not exactly...

Would you like to try to reword (or revise) your reasoning? For example, the statement "we already know where an empty chamber is" is not correct. All you know is that "a chamber that is currently facing the barrel is next to an empty one".
In a revolver, we would know that the chamber under the hammer after the trigger is pulled is empty. As the trigger is pulled (for a double action revolver anyway) the cylinder advances to the next chamber. Of course for many revolvers you could just look at the back of the cylinder and see if there is daylight or not...
  #6  
Old 17th April 2009, 07:42 PM
Yarik's Avatar
Yarik Yarik is offline
Involved in Discussions

 
Registration Date: Feb 2009
Location: Los Gatos, CA USA
Age: 46
 
Posts: 110
Thanks Given to Others: 145
Thanked 12 Times in 10 Posts
Karma Power: 29
Karma: 180
Yarik is appreciated, and has over 100 Karma points.Yarik is appreciated, and has over 100 Karma points.
Re: Russian Roulette

Quote:
In Reply to Parent Post by Craig H. View Post

In a revolver, we would know that the chamber under the hammer after the trigger is pulled is empty. As the trigger is pulled (for a double action revolver anyway) the cylinder advances to the next chamber.
My bad. Did not hold a revolver for quite some time.

All right, you do know where the empty chamber is. And my suggested correction wasn't a good one, anyway. Moreover, all the final choices that you came up with are correct. But... the probability of dying without spinning in the second scenario (the scenario with two bullets in non-adjacent chambers) was calculated incorrectly, which makes the correctness of your logic in all scenarios questionable. That's why I said that your answers are "not exactly correct"...


Quote:
In Reply to Parent Post by Craig H. View Post

Of course for many revolvers you could just look at the back of the cylinder and see if there is daylight or not...
Yeah, that's true. That's one of the reasons why our imaginary revolver is so much better for Russian Roulette: (1) you can't cheat by looking at it; (2) it can't kill anybody.
  #7  
Old 4th June 2009, 03:02 PM
Neil V.'s Avatar
Neil V. Neil V. is offline
Involved in Discussions

 
Registration Date: Jan 2007
Location: Detroit, MI
 
Posts: 161
Thanks Given to Others: 72
Thanked 28 Times in 21 Posts
Karma Power: 42
Karma: 157
Neil V. is appreciated, and has over 100 Karma points.Neil V. is appreciated, and has over 100 Karma points.
Re: Russian Roulette - Interviewer suggests to play imaginary Russian Roulette with y

you should spin in the second scenario. if the two bullets are not adjacent you only have a 50% chance of the next cylinder being empty. spinning with two of 6 loaded would be the 66% chance of being empty.



if you really were asked this question or one close to it in an interview would it be bad to ask for scratch paper?
  #8  
Old 4th June 2009, 11:38 PM
Yarik's Avatar
Yarik Yarik is offline
Involved in Discussions

 
Registration Date: Feb 2009
Location: Los Gatos, CA USA
Age: 46
 
Posts: 110
Thanks Given to Others: 145
Thanked 12 Times in 10 Posts
Karma Power: 29
Karma: 180
Yarik is appreciated, and has over 100 Karma points.Yarik is appreciated, and has over 100 Karma points.
Re: Russian Roulette - Interviewer suggests to play imaginary Russian Roulette with y

Quote:
In Reply to Parent Post by Neil V. View Post

you should spin in the second scenario. if the two bullets are not adjacent you only have a 50% chance of the next cylinder being empty. spinning with two of 6 loaded would be the 66% chance of being empty.
Yep, exactly.



Quote:
In Reply to Parent Post by Neil V. View Post

if you really were asked this question or one close to it in an interview would it be bad to ask for scratch paper?
First, it depends on the interviewer, of course. If I were the interviewer, I wouldn't mind at all. Maybe it's just me, but during interviews I am much more interested to see how people approach the problem and think than to get correct "end results" from them.

Also it may depend on how you (as an interviewee) estimate your chances to solve the problem (or at least explain your thinking) without scratch paper. If such chances are low you might want to take the risk and ask for scratch paper. The additional bonus would be that you'd get a chance to learn something extra about your current interviewer...
__________________
It's not the plan that is important, it's the planning. (Graeme Edwards) -- Perfect is the enemy of good. (Russian saying)

Last edited by Stijloor; 5th June 2009 at 04:05 AM. Reason: Fixed quote.
Reply

Lower Navigation Bar
Go Back   The Elsmar Cove Forum > Elsmar Cove Forum Community Forums > Community Discussion Topics > Brain Teasers and Puzzles

Do you find this discussion thread helpful and informational?


Bookmarks


Visitors Currently Viewing this Thread: 1 (0 Registered Visitors (Members) and 1 Unregistered Guest Visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Forum Search
Display Modes Rate Thread Content
Rate Thread Content:

Forum Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Discussion Threads
Discussion Thread Title Thread Starter Forum Replies Last Post or Poll Vote
Russian GOST-R Medical Device Regulations PFD2010 Other Medical Device Regulations World-Wide 4 17th January 2012 11:36 AM
Looking for training Video on FOD translated into Russian LeahGates AS9100, Nadcap and related Aerospace Standards and Requirements 3 13th July 2010 08:51 AM
New Years Gift to USA: Russian navy: Russian warships to visit Cuba bobdoering Controversial Discussion Topics 2 16th December 2008 08:19 PM
As appropriate - What is it? Definition? Does not translate well in Russian MVladimir Definitions, Acronyms, Abbreviations and Interpretations 3 11th April 2005 07:29 PM
Would You Trust a Russian Supplier? Anton Ovsianko Supplier Quality Assurance and other Supplier Issues 9 4th December 2001 08:45 AM



The time now is 05:12 PM. All times are GMT -4.
Your time zone can be changed in your UserCP --> Options.


   


Marc Timothy Smith - Elsmar.com
8466 LeSourdsville-West Chester Road, Olde West Chester, Ohio 45069-1929
513 341-6272