A group of four people has to cross a bridge. It is dark, and they have to light the path with a flashlight. No more than two people can cross the bridge simultaneously, and the group has only one flashlight. It takes different time for the people in the group to cross the bridge
![A group of four people has to cross a bridge It is dark and they have to light the path with a flashlight No more than two people can cross the bridge simultane class=](https://us-static.z-dn.net/files/d01/66a06adbb920e1b0f63142dbb0138f6e.png)