How does Google foobar prepare the bunnies to escape?

How does Google foobar prepare the bunnies to escape?

For reference, here is the challenge. You have maps of parts of the space station, each starting at a prison exit and ending at the door to an escape pod. The map is represented as a matrix of 0s and 1s, where 0s are passable space and 1s are impassable walls.

How to calculate the shortest path in foobar?

Write a function answer (map) that generates the length of the shortest path from the prison door to the escape pod, where you are allowed to remove one wall as part of your remodeling plans. The path length is the total number of nodes you pass through, counting both the entrance and exit nodes.

Where is the escape pod in prepare the bunnies?

The door out of the prison is at the top left (0,0) and the door into an escape pod is at the bottom right (w-1,h-1). Write a function answer (map) that generates the length of the shortest path from the prison door to the escape pod, where you are allowed to remove one wall as part of your remodeling plans.

How many bunnies are there in foobar level 4?

There are at most 5 bunnies, and time_limit is a non-negative integer that is at most 999. and a time limit of 1, the five inner array rows designate the starting point, bunny 0, bunny 1, bunny 2, and the bulkhead door exit respectively.

What do zeros mean in Google foobar challenge?

I’m currently working through the google FooBar challenge, and I’m on the third level, in which I have to find the distance between the top left and bottom right points on a grid. The grid is filled by ones and zeros, with zeros representing crossable spaces and ones representing non-crossable spaces (a typical grid would look like this):

Is there a time limit on Google foobar?

I have checked this post but it did not fully resolve my problem in Google Foobar as it is still giving me Time limit exceeded errors. For reference, here is the challenge. You have maps of parts of the space station, each starting at a prison exit and ending at the door to an escape pod.