Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 2
There is a start and end points. And this is the path to follow:
1. Down: row++, col
2. Right: row, col++
3. Up: row--, col
4. Left: row, col--
Then it's repeat until the end is reached.