3 ms·
My intuition keeps betraying me, but a truth table finally convinced me: | Car | Goat | Goat | Switch? | Win? | |-----+------+------+---------+------|
by b0afc375b5 5y ago
My intuition keeps betraying me, but a truth table finally convinced me:
| Car | Goat | Goat | Switch? | Win? |
|-----+------+------+---------+------|
| T | F | F | F | T |
| T | F | F | T | F |
| F | T | F | F | F |
| F | T | F | T | T |
| F | F | T | F | F |
| F | F | T | T | T |
Number of wins when not switching: 1
Number of wins when switching: 2
EDIT: Woops, hackernews does not like an org-mode table. Found out you can indent by 2 spaces to preserve format.