News for hackers. Stuff that matters.
Re:Prison Switcharoo by gberger on Sunday February 23, 2014 @12:59PM (#7286723)
n-1, where n is the number of prisoners. -1 to account for the leader.
Re:Prison Switcharoo by evanb on Sunday February 23, 2014 @02:23PM (#7287163)
It's actually 2(n-1), because the designated switch can start in either state.