I'm having trouble with the following problem:
The problem looked easy enough, until I realized that my limited logic did not cover all possibilities, so I haven't been able to solve it.
This is one my attempts: *I'm not sure how to incorporate the fact that the first participate may die after the first snake, or the second/third snake.
Any steps in the right direction would be very helpful, thanks!
The problem looked easy enough, until I realized that my limited logic did not cover all possibilities, so I haven't been able to solve it.
This is one my attempts: *I'm not sure how to incorporate the fact that the first participate may die after the first snake, or the second/third snake.
Any steps in the right direction would be very helpful, thanks!