• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:53
CEST 02:53
KST 09:53
  • 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
[ASL22] Ro24 Preview: Siren's Call4[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 244ByuL, and the Limitations of Standard Play3
Community News
Weekly Cups (August 10-16): SHIN doubles2GSTL Returns in 2026!45Weekly Cups (Aug 3-9): Protoss get shut out7RSL goes to London! 2026 Offline Finals Nov 21-2212Weekly Cups (July 27-Aug 2): SHIN's big week0
StarCraft 2
General
Geoff 'iNcontroL' Robinson has passed away SC4ALL II: SC2 Player Announcement 6/8 - Maru GSTL Returns in 2026! Balance hotfix patch 5.0.16b (July 16) Serral wins Maestros of the Game 2
Tourneys
PIG STY FESTIVAL 8.0! (13 - 23 August) Sparkling Tuna Cup - Weekly Open Tournament WORTEX 2026 - Hungarian SC2 Finals Budapest SC2 AI Tournament 2026 Fall 2026 GSTL Announcement
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 540 Dodge This The PondCast: SC2 News & Results Mutation # 539 Thunder Dome Mutation # 538 Media Blackout
Brood War
General
[ASL22] Ro24 Preview: Siren's Call BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Pros React To: First 'Fastest' Map in ASL History [Personal Project Share] Terran Defense v0.60
Tourneys
[Megathread] Daily Proleagues Toronto invitational lan 22 august Brood War in Budapest ! WORTEX 2026 BW Finals [ASL22] Ro24 Group C
Strategy
Replay Review Process - What do you do? Odyssey Mineral Stack Saturation Fighting Spirit mining rates Any training maps people recommend?
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Anyone here play Quakeworld back in the day? Stormgate/Frost Giant Megathread EVE Corporation
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
Dating: How's your luck? US Politics Mega-thread Russo-Ukrainian War Thread Canadian Politics Mega-thread Artificial Intelligence Thread
Fan Clubs
The Creator Fan Club MarineLorD Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread
Sports
Football (Soccer) Thread MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Young Players Exit Esports E…
TrAiDoS
LOCKPICKING NOOB
LUCKY_NOOB
Cathedral Of CS And NY pizza a…
FuDDx
Please support my new stand…
Peanutsc
Customize Sidebar...

Website Feedback

Closed Threads



Active: 4612 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 States24795 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
Ireland23342 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 9h 8m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
BRAT_OK 57
EnDerr 2
StarCraft: Brood War
Rain 3052
GuemChi 2105
Shine 12
Bale 10
Dota 2
XaKoH 532
monkeys_forever443
NeuroSwarm170
League of Legends
Doublelift6631
JimRising 623
Counter-Strike
minikerr114
Super Smash Bros
Mew2King135
Other Games
gofns16780
Liquid`RaSZi1752
Organizations
Other Games
gamesdonequick1016
BasetradeTV35
[ Show 13 non-featured ]
StarCraft 2
• Hupsaiya 107
• davetesta22
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
• Response 0
StarCraft: Brood War
• RayReign 13
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21837
Upcoming Events
Afreeca Starleague
9h 8m
hero vs ggaemo
Larva vs Mong
The Patches Monday
15h 8m
Afreeca Starleague
1d 9h
Soulkey vs PianO
JyJ vs sSak
GSL
1d 10h
PiGosaur Cup
1d 23h
Afreeca Starleague
2 days
Mini vs Calm
Queen vs EffOrt
Replay Cast
2 days
The PondCast
3 days
Replay Cast
3 days
IntoTheTV X SOOP
4 days
[ Show More ]
GSL
5 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2026-08-23
PiG Sty Festival 8.0
Eternal Conflict S2 Finale

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL Season 22: Qualifier 1
RSL Revival: Season 6
META DYMY #4
Esports World Cup 2026
Esports World Cup 2026: LCQ
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026

Upcoming

CSL Season 22: Qualifier 2
BSL 2026 LAN: Kraków
CSL 2026 AUTUMN (S22)
Acropolis #5
Acropolis #5 - TRS
Blizzard Classic Cup 2026
Acropolis #5 - GSA
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Calamity Invitational
Big Dog Cup 2026 Div 1
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
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.