Home > Back-end >  There is a small problem
There is a small problem

Time:10-19

Use BFS mazes problem, why each point need team only once... Thought for a long time don't quite understand why

CodePudding user response:

Might have forks in the road after many times, but again to get to the fork in the road because have already done, so has been in the queue, no team once again, you have to do on the tag, and then back to a fork in the road can choose another direction, queue there is always only one, will not appear for many times,

CodePudding user response:

Understand before, still thank you for your answer!
  • Related