• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 19:24
CET 01:24
KST 09:24
  • 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
ByuL: The Forgotten Master of ZvT28Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0247LiuLi Cup: 2025 Grand Finals (Feb 10-16)46Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2
StarCraft 2
General
Terran AddOns placement How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker ByuL: The Forgotten Master of ZvT Oliveira Would Have Returned If EWC Continued
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10 RSL Season 4 announced for March-April The Dave Testa Open #11
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
Mutation # 514 Ulnar New Year The PondCast: SC2 News & Results Mutation # 513 Attrition Warfare Mutation # 512 Overclocked
Brood War
General
TvZ is the most complete match up Soma Explains: JD's Unrelenting Aggro vs FlaSh BW General Discussion CasterMuse Youtube ACS replaced by "ASL Season Open" - Starts 21/02
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 Escore Tournament StarCraft Season 1 [LIVE] [S:21] ASL Season Open Day 1
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Path of Exile Beyond All Reason New broswer game : STG-World
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
UK Politics Mega-thread US Politics Mega-thread YouTube Thread Mexico's Drug War Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
YOUTUBE VIDEO
XenOsky
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Inside the Communication of …
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1900 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 States24755 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
8751 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 2h 36m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 374
ProTech136
Livibee 41
StarCraft: Brood War
NaDa 42
nyoken 35
League of Legends
JimRising 483
Counter-Strike
taco 415
Super Smash Bros
Liquid`Ken10
Other Games
summit1g9767
shahzam416
hungrybox334
C9.Mang0265
ViBE95
ToD56
ZombieGrub50
Organizations
Other Games
gamesdonequick709
Counter-Strike
PGL213
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• RyuSc2 62
• musti20045 42
• davetesta23
• Kozan
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2872
League of Legends
• Doublelift4229
Other Games
• imaqtpie816
• Shiphtur131
Upcoming Events
Korean StarCraft League
2h 36m
PiG Sty Festival
8h 36m
Reynor vs Clem
ShowTime vs SHIN
CranKy Ducklings
9h 36m
OSC
10h 36m
SC Evo Complete
13h 6m
DaveTesta Events
17h 51m
AI Arena Tournament
19h 36m
Replay Cast
23h 36m
PiG Sty Festival
1d 8h
Maru vs TBD
Sparkling Tuna Cup
1d 9h
[ Show More ]
uThermal 2v2 Circuit
1d 14h
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
2 days
Replay Cast
2 days
Replay Cast
4 days
Replay Cast
4 days
The PondCast
5 days
KCM Race Survival
5 days
Replay Cast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-02-26
LiuLi Cup: 2025 Grand Finals
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Acropolis #4 - TS5
Jeongseon Sooper Cup
Spring Cup 2026
[S:21] ASL SEASON OPEN 2nd Round
[S:21] ASL SEASON OPEN 2nd Round Qualifier
WardiTV Winter 2026
PiG Sty Festival 7.0
Nations Cup 2026
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

ASL Season 21: Qualifier #1
ASL Season 21: Qualifier #2
ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
NationLESS Cup
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
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 © 2026 TLnet. All Rights Reserved.