• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:40
CEST 08:40
KST 15:40
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
[BSL20] Non-Korean Championship 4x BSL + 4x China3Flash Announces Hiatus From ASL63Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event22Esports World Cup 2025 - Final Player Roster16
StarCraft 2
General
Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
SC uni coach streams logging into betting site Player “Jedi” cheat on CSL Flash Announces Hiatus From ASL BW General Discussion Practice Partners (Official)
Tourneys
CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China The Casual Games of the Week Thread [BSL20] Grand Finals - Sunday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Summer Games Done Quick 2024! Summer Games Done Quick 2025! US Politics Mega-thread Russo-Ukrainian War Thread Trading/Investing Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 793 users

Puzzles 4 U

Blogs > BrTarolg
Post a Reply
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
Last Edited: 2010-12-05 16:03:25
December 05 2010 16:02 GMT
#1
So someone asked me a go what kind of interview questions i ask people as staking candidates in my poker ring.
Sometimes i get bored and throw out some brainteasers... Usually these require a bit of thought, a lot of inductive reasoning and a bit of lateral/out of the box thinking

This is one of my favourite questions, and relates to a real life game my dad once played haha

There is a room of 1000 people. In this game, there is a referee that flips the coin, standing in front of everyone else.
Everyone pre-emptively picks heads or tails. The coin at the front lands, and everyone who chose correctly stays standing, and everyone who chose wrong sits down.
Then you play the game again, until there is one person left, and that last person wins the prize!
Oh, and if nobody is left standing, then nobody wins the prize

What is the optimal strategy? Does it even matter what you choose?
How should your strategy change if there are only 10 people?

I'll give a few hints here too, and thoughts and discussions, try not to spoiler until you've thought about the question hard first
+ Show Spoiler +

Hint 1:
+ Show Spoiler +
Obviously in a perfect, game theoretic world, where everyone chooses randomly, your chances of winning are 1/1000 no matter what you pick (on average). But that would be a boring question


Hint 2:
+ Show Spoiler +
People in general pick heads more than tails. Why is that?


Hint 3:
+ Show Spoiler +
It's a pretty well known fact that in rock paper scissors, your average person hates picking the same choice 3x in a row.


Hint 4:
+ Show Spoiler +
Remember that assuming you picked correctly, the only people who are left will have picked exactly the same as you. Even if you cannot improve your odds from the previous rounds, is it possible to improve your odds by considering future rounds?


Hint 5:
+ Show Spoiler +
That is, if you pick T first, but are unsure what you pick for the second round, consider if you are in any better position if you went TTT as opposed to THT


Hint 6:
+ Show Spoiler +
Did you know if you have no randomisation in your strategy, and someone else picks the exact same strategy as you, your chances of winning are zero?


Hint 7:
+ Show Spoiler +
Is it more likely that someone is going to pick the exact same strategy as you if there are 1000 people or 10 people?


Hint 8:
+ Show Spoiler +
When my dad played this game, there were 100 people in the room. 94 people chose heads first and got knocked out!


Hint 9:
+ Show Spoiler +
So if TTT is the best choice for the first 3 picks, then what are the chances of someone playing the same strategy as you? Is T all the way a good strategy?


Hint 10:
+ Show Spoiler +
I lied, there isn't exactly an optimal strategy, as this is very game theoretic! In fact, the only optimal strategy in one sense is if everyone picks random all the time! What i am really looking for is a MAXIMAL strategy. And of course, maximal strategies are very tough to come up with! A good strategy would be for example, TTT and then afterwards always picking random. But are there better strategies which beat this? You arn't just playing against 1 person!




ReketSomething
Profile Blog Joined November 2008
United States6012 Posts
Last Edited: 2010-12-05 16:17:45
December 05 2010 16:14 GMT
#2
original post
+ Show Spoiler +
So I recently had a homework assignment where the whole class had to write Rock Paper Scissors program and winning program gets extra credit. Essentially, the program had a requirement to beat default programs, such as one that went all rock and programs that repeated. It also had to beat programs that had a slight bias towards one but is relatively random. (more often goes scissors then your program must more often go rock or something like that).

To do so, one method (of many) was to create some sort of database where you look at the x previous things your opponent did and what your opponent did to follow it. For example, if your opponent goes RR = > S 5 times and RR => P none and RR = > R 45 times, then you would throw out P. Also, you to beat these programs you could write a program that considered your own moves as well as the enemy's or something.

In this situation, since you always have a 50% chance of getting eliminated, it is optimal to choose your minority. Considering that, you could write a program that observes your opponents and guesses their moves based of previous decisions and try to be the minimum and then pray or bribe. Also trying to rig the coin is a good strategy.

Anyways, programs could be written to beat a 2% bias towards scissors 99%+ of the time out of 1K games O__O Relatively amazing. Also, some programs completely dominated mine that did the above T___T Really fun assignment, but of course this one is a lot more luck based.

edit: the above example for looking at previous 2 moves could be done for previous, previous 3 etc. also can do something where you compare peoples responses based of overall statistics of previous rounds. etc

edit


edit: im retarded

edit2: wait im not
Jaedong :3
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
December 05 2010 16:41 GMT
#3
Very similar ideas, though H's and T's is a much easier concept to get around - also the idea of randomisation and strategy bias doesn't come in till very late in the thought process

Especially in this case, it is very dangerous to over-think yourself - you must first consider the field of players you are up against and how that should be affecting your strategy
micronesia
Profile Blog Joined July 2006
United States24668 Posts
December 05 2010 17:06 GMT
#4
This question seems too open ended to me. Rather than giving hints we can optionally take into account you should decide what should and shouldn't be taken into account. For example, why don't you make a list of betting behavior that we should accept as fact? Otherwise we won't really make any progress on this issue.

What can we take as given in this question? If that's up to us then every answer is correct and not very useful.
ModeratorThere are animal crackers for people and there are people crackers for animals.
IMlemon
Profile Blog Joined May 2008
Lithuania296 Posts
Last Edited: 2010-12-05 17:19:48
December 05 2010 17:10 GMT
#5
This is weird. This isn't like RPS where you play against other players so all that psyschological stuff comes into play. Here you just choose H or T and pray referee spins that coin well for you. Having said that, solution is obvious.

+ Show Spoiler +
Bribe the referee


Edit: Oh wait im stupid. But my solution still stands :p.
My future's so bright, I gotta wear shades.
Polemarch
Profile Joined August 2005
Canada1564 Posts
Last Edited: 2010-12-05 17:25:07
December 05 2010 17:22 GMT
#6
Really neat idea, thanks for posting.

I guess assuming every sequence of flips is equiprobable, you maximize your chance of winning at each step by choosing the next flip that the fewest other people would choose. It's interesting that unlike poker, at every step, you're competing against people who've made the exact same choices as you to date. So you can't really get any extra information out of them dynamically just based on their choices, like "this guy is a bluffer", etc. (Simplification: Although maybe you can get a psychological "read" on them and guess what they might choose in the future... but to simplify things I'll leave that out.) This simplifies things dramatically.

I don't think it matters that much how many people there are. In any case, you want to choose the next choice that probabilistically speaking, the fewest others will choose. (Simplification: Other people may change their choices based on the number though, so in an ideal world you would account for that.)

So I think a very good approximation to an optimal strategy is if you could discover the distribution of what people would choose in this situation and pick the one that at each step that the fewest people will choose next time. This is mostly a psychology problem.

e.g.
1. Since most people pick heads, start with tails.
2. Given a history of T, since other people feel that they want to act "random", they're likely to switch to H, so stick with T.
3. Given a history of TT, since other people still feel that they want to act "random", stick with T.
...
6. Given a history of TTTTT, since you're probably up against really stubborn people, switch to H.
...
20. Given a history of TTTTTTTHHHHHTHTHT or whatever, probably someone else is doing the same analysis as you, so switch it up away from this strategy.

If we were taking this really seriously I'd try to gather a lot of data on this.

If we were taking this even more seriously, I'd try to factor in the possibility that a coin is biased. Most coin flipping is probably fair to 2 decimal places, but given a history of TTTTTTTTTTTTT this should give you some evidence that the coin may not be fair. You'd probably want to use Bayesian analysis, factoring in your prior belief as to the distribution of the fairness of the coin & flipping process. (Given that history of mass tails I'd probably still switch at some point to heads, based on the psychology, but it's a tradeoff -- a less likely coinflip but more likely to win.)
I BELIEVE IN CAPITAL LETTER PUNISHMENT!!!!!
LazyMacro
Profile Blog Joined August 2010
976 Posts
December 05 2010 17:41 GMT
#7
Couldn't you just lie and stay standing? I didn't see anything that implied the decision had to be made "officially,"
NonY
Profile Blog Joined June 2007
8748 Posts
Last Edited: 2010-12-05 17:53:14
December 05 2010 17:52 GMT
#8
On December 06 2010 02:41 LazyMacro wrote:
Couldn't you just lie and stay standing? I didn't see anything that implied the decision had to be made "officially,"

neither is there any implication that an official who officially heard your pick compels you to sit down. it's simply that you make a choice before the flip and if your choice is wrong you sit down. in other words, no there's no room for lying. you must make a choice before the flip and if the choice is wrong you must sit down. there's no communication going on, so no room for lying.
"Fucking up is part of it. If you can't fail, you have to always win. And I don't think you can always win." Elliott Smith ---------- Yet no sudden rage darkened his face, and his eyes were calm as they studied her. Then he smiled. 'Witness.'
Stenstyren
Profile Blog Joined April 2010
Sweden619 Posts
Last Edited: 2010-12-05 18:08:29
December 05 2010 18:07 GMT
#9
Well, this question was quite impossible to answer until you told us that
+ Show Spoiler +
heads is more common


+ Show Spoiler +
Using that we know that tails will be the pick for the first round since it's the most uncommon pick and we therefore have a higher chance of being alone in the end.

Later on you will want to take whatever has just been drawn. So, if the referee get's heads, you should bet on heads next time.

Here we have a problem however, your series would just look like TTTTTTTT using this method. We can assume that at least one of your co-competitors has "broken the system" similar to you so just going TTTTT the entire time will not be optimal. Therefore you should mix in some heads. Now, the later in the game that you switch to heads, the more likely it is that you will bump out the guy who has understood and not just some fluke who got by on luck.

Therefore, you should go TTTTTTTTTTTTTTTT all the way until only two persons are standing and then go heads. This falls apart if more than one person has figured it out so a general rule of thumb could be something like TTTTTHTTTTTHTTTTTHTTTTTH. That should weed out the smart people while you are not going THHTHHTHHTHHTHH like a normal person would do.
Klive5ive
Profile Blog Joined January 2008
United Kingdom6056 Posts
December 05 2010 19:18 GMT
#10
This game is the basis for making money on the stockmarket.
Don't hate the player - Hate the game
Slayer91
Profile Joined February 2006
Ireland23335 Posts
Last Edited: 2010-12-05 19:45:01
December 05 2010 19:40 GMT
#11
Err, don't you just have 999 pick heads, 1 pick tails, and repeat all the way down?
Or is "optimal" very important, in which case you want to get rid of 1/2 all the way down.
IE 10--> 5 stay --> 2//3 stay --> 1//2 stay --> 1 stays.
I didn't look at hints, it just seems really easy to me, im probably oversimplifying it.

Oh ok, you're 1 of 1000 people? that makes more sense. I guess you always want to choose the minority since its 50:50 but you remove more competitors.
I guess according to the hints you keep choosing tails until you think anyone now choosing tails is doing it for a strategy.
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
December 05 2010 20:37 GMT
#12
On December 06 2010 02:06 micronesia wrote:
This question seems too open ended to me. Rather than giving hints we can optionally take into account you should decide what should and shouldn't be taken into account. For example, why don't you make a list of betting behavior that we should accept as fact? Otherwise we won't really make any progress on this issue.

What can we take as given in this question? If that's up to us then every answer is correct and not very useful.


I suppose in some ways i am being very unfair, and also being very unspecific, which is actually kind of the point

I'm deliberately missing out key information and im requiring the guy i interview to use some inductive reasoning, with the risk that he knows he could just be flat out wrong. Indeed in poker this kind of reasoning can have absolutely catastrophic results, but at the same time it is indicative of all the highest level thinkers.

Indeed, if i gave you a list of behaviours which you could take for granted, the answer is really kinda trivial and anyone could work it out, though the hints give a lot away

Oh about the stockmarket, just had my JPmorgan Trading interviews... wish me luck :x
Please log in or register to reply.
Live Events Refresh
Next event in 4h 20m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 139
Mong 135
Mind 89
Shine 34
yabsab 10
Bale 6
Barracks 0
PianO 0
Dota 2
XaKoH 252
Counter-Strike
Stewie2K1257
Super Smash Bros
Mew2King132
Other Games
summit1g9992
NeuroSwarm127
SortOf107
ProTech48
Organizations
Other Games
gamesdonequick32831
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH367
• practicex 28
• AfreecaTV YouTube
• intothetv
• sooper7s
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Azhi_Dahaki47
• ZZZeroYoutube
• STPLYoutube
• BSLYoutube
Dota 2
• lizZardDota273
League of Legends
• Rush1605
• Lourlo1309
• HappyZerGling149
Upcoming Events
Wardi Open
4h 20m
Replay Cast
17h 20m
Sparkling Tuna Cup
1d 3h
WardiTV European League
1d 9h
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
1d 17h
The PondCast
2 days
WardiTV European League
2 days
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
2 days
Replay Cast
2 days
RSL Revival
3 days
ByuN vs SHIN
Clem vs Reynor
[ Show More ]
Replay Cast
3 days
RSL Revival
4 days
Classic vs Cure
FEL
4 days
RSL Revival
5 days
FEL
5 days
FEL
5 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
FEL
6 days
Liquipedia Results

Completed

BSL Season 20
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.