Solutions to the hundred prisoners + warden problem Nick Scoville posed to me
Just in case I ever get stuck in a prison with 99 other people and the warden calls one of us in randomly each day, and lets us turn a lightbulb on or off. It's good to be prepared...
This algorithm only works for people with multiple life sentences