Topic: Stack Problem / Level: advanced

Problem: Create a function that uses stacks to solve the "Shortest Distance from All Buildings" problem in a grid.

Run the code to see the output here...