<?php
use GuzzleHttp\Client;
function replace_chars($text) {
preg_match_all('/\d+/', $text, $matches);
return implode('', $matches[0]);
}
function bfs(&$visited, &$queue, &$array, $node) {
$getNeighboor = function ($array, $node) {
$neighboors = [];
if ($node[0] + 1...