Question: ] is the sample grind with answer 2 the city of hackerland can be represented as a 2 D grid size n x m .

] is the sample grind with answer 2the city of hackerland can be represented as a 2D grid size n x m. Each cell is either an empty (a dot character .), an obstacle (an asterisk*), a start point ( S) or an end point (E). It can move up, down, left and right. the goal is to move from the starting to the end point such that in the path, the min distance fro the obstacle is as large as possible. return the minimum distance. The distance between two points on the grid with coordinates (r1,c1) and (r2,c2) is calculated as absolute value of |r1-r2|+|c1-c2|. write an algorithm in python
 ] is the sample grind with answer 2the city of hackerland

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!