Trying to implement DFS instead of BFS

后端 未结 0 835
故里飘歌
故里飘歌 2020-11-30 02:50

i have implemented BFS to search for a mango seller. However i am about to try it with DFS now - but find it a bit hard. I have tried to to use pop() and unshift() instead,

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