Assumptions

  • Cost of visiting the point where the wherehouse is located is 0
  • The grid is zero indexed (starting at [0,0])

Requirements

php8.1
php8.1-xml
php8.1-common
php8.1-json
php8.1-xdebug

Getting Started

$ composer install
$ chmod +x test.sh
$ ./test.sh
$ php src/main.php