• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 19:04
CET 01:04
KST 09:04
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets0$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)12Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1822
StarCraft 2
General
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns Spontaneous hotkey change zerg Chinese SC2 server to reopen; live all-star event in Hangzhou SC2 All-Star Invitational: Jan 17-18
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
Potential ASL qualifier breakthroughs? BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest Data analysis on 70 million replays
Tourneys
[Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10 SLON Grand Finals – Season 2
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Beyond All Reason Nintendo Switch Thread Awesome Games Done Quick 2026! Mechabellum Stormgate/Frost Giant Megathread
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
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1187 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 States24752 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 11h 56m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft467
White-Ra 108
UpATreeSC 105
elazer 105
SpeCial 95
SteadfastSC 76
CosmosSc2 46
StarCraft: Brood War
Britney 8956
Artosis 620
Shuttle 595
Sexy 52
Dota 2
syndereN325
monkeys_forever287
capcasts93
League of Legends
C9.Mang0197
Counter-Strike
summit1g4005
Foxcn236
Super Smash Bros
PPMD35
Other Games
tarik_tv6126
shahzam507
ToD348
B2W.Neo236
XaKoH 145
Maynarde122
Dewaltoss54
ZombieGrub35
Ketroc11
Organizations
Other Games
gamesdonequick4613
BasetradeTV33
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• davetesta19
• intothetv
• Kozan
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• IndyKCrew
StarCraft: Brood War
• Azhi_Dahaki20
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21419
• WagamamaTV456
League of Legends
• TFBlade861
Other Games
• imaqtpie2560
• Shiphtur200
Upcoming Events
WardiTV Invitational
11h 56m
PiGosaur Cup
1d
WardiTV Invitational
1d 11h
The PondCast
2 days
OSC
2 days
OSC
3 days
All Star Teams
4 days
INnoVation vs soO
sOs vs Scarlett
uThermal 2v2 Circuit
4 days
All Star Teams
5 days
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
5 days
[ Show More ]
OSC
5 days
Replay Cast
6 days
Wardi Open
6 days
Liquipedia Results

Completed

Proleague 2026-01-12
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
OSC Championship Season 13
Underdog Cup #3
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

Escore Tournament S1: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Thunderfire SC2 All-star 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.