My professor asked me this. It is not for credit, I think he's just having fun with me.
Try to answer this question:
Rex, Ham, Woody & Buzz are crossing a bridge.
In order for anyone to cross they need the 1 flashlight they have.
The bridge can support only 2 of them at any time (any 2 doesn't matter).
The flashlight battery has 1 hour left on it.
It takes woody 10 minutes to cross, Buzz 5 minutes, Ham 25 minutes and Rex 20 minutes to cross.
how can this be done with only 1 hour of flashlight life?