Explanation:
Only two people can cross the bridge at the same time.
Chris takes 1 minute, Tracy takes 2 minutes, Ashley takes 5 minutes, Jalen takes 10 minutes.
Step 1: To make sure they all cross before 17 minutes is exceeded.
First, send Chris (the fastest) and Jalen (the slowest) together.
17 - 1 = 16
Chris crosses in 1 minute, Jalen, is still crossing (9 minutes left). 16 minutes left in all.
Next, Ashley crosses the bridge (5 minutes)
16 - 5 = 11
Ashley crosses with 11 minutes left, Jalen still has 4 minutes left, 11 minutes left in all.
Finally, Tracy crosses. Jalen would finish his crossing (4 minutes left). 11 minutes left in all.
11 - 4 = 7
The whole group costs with 7 minutes left in all
~