Writing DFS for maze

前端 未结 0 1891
轻奢々
轻奢々 2021-01-13 08:36

I am working on Leetcode \'escape the maze\', I have written DFS algorithm. The idea is to create a stack to record the route, and label \'2\' in maze matrix representing it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题