开发者

BFS algorithm - shortest walk on grid with constrained steps

开发者 https://www.devze.com 2023-01-26 07:57 出处:网络
The problem is as follows: A wanderer begins on the grid coordinates (x,y) and wants to reach the coordinates (0,0). From every gridpoint, the wanderer can go 8 steps north OR 3 steps south OR 5 steps
0

精彩评论

暂无评论...
验证码 换一张
取 消