Question: You are under aerial attack, so you need to dig a tunnel fast to help everyone escape, from A to B . Load up the
You are under aerial attack, so you need to dig a tunnel fast to help everyone
escape, from to
Load up the file underground.csv on Moodle. The exact same code as last week
can be used for loading it
This data shows the underground conditions of the terrain, as obtained using
ground penetrating radar. The denotes solid rock that you cannot dig
through. A and B show where you start, and where you must get to The
numbers denote the number of minutes that it would take you to dig through
this part of the ground.
You can dig North, South, East or West, but not diagonally.
You have hours to find the quickest possible route from to Then the
digging must start.
Please do in java code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
