Question: computer science Artificial Intelligence Problem description: A group of K persons (K > 1) want to cross a bridge from East to West during the
computer science
Artificial Intelligence
- Problem description:
A group of K persons (K > 1) want to cross a bridge from East to West during the
night. The persons that are crossing the bridge must use a flashlight. There is only
one flashlight. The bridge is very narrow and allows two persons to cross
it at the same time at most. Two persons go from east to west and one person returns with
the flashlight from west to east. If the two persons are crossing the bridge together,
they are crossing it at the speed of the slower one. These people are trying to cross
the bridge as quickly as possible.
Use search strategies (IDS ) to find the best order for these persons to cross the bridge.
** code phaython**
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
