摘要: //If you know a solution is not far from the root of the tree: BFS, because it is faster to get closer node //If the tree is very deep and solutions are rare: BFS, DFS will take a longer time becau... 阅读全文
posted @ 2019-11-29 16:33 Zhentiw 阅读(196) 评论(0) 推荐(0)