Here is the code example in C++.
I spent 25 minutes to watch the video. The explanation is very clear and very straightforward to apply BFS, no pruning. I do like to work on the solution first using DFS, make it work, and then think about more if I have time to add some pruning ideas.
I will write a C# solution using the same idea.
No comments:
Post a Comment