Hacker News new | ask | show | jobs
by gberger 4505 days ago
n-1, where n is the number of prisoners. -1 to account for the leader.
1 comments

It's actually 2(n-1), because the designated switch can start in either state.