We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这周作业的主题是关于递归树、堆和排序、图、深度和广度优先搜索、字符串匹配的,我只做了三道题,关于dfs、bfs和图的。 关于dfs: 做的是一个多✘树深度的,遇到多叉树,就想到了用递归,同时结合递归树,在图纸上画一画,就可以得到递推公式,这样代码也就好写多了。 关于bfs: bfs遍历,首先我就想到了用 队列,但是我实现的方式效率并不高,后续再思考吧。 关于图: 对于图,我所掌握的就是一些基本的理论知识,但是一到实际编码就会很吃力。但是图在很多的地方都会用到,所以这块硬骨头还要啃下来。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这周作业的主题是关于递归树、堆和排序、图、深度和广度优先搜索、字符串匹配的,我只做了三道题,关于dfs、bfs和图的。
关于dfs:
做的是一个多✘树深度的,遇到多叉树,就想到了用递归,同时结合递归树,在图纸上画一画,就可以得到递推公式,这样代码也就好写多了。
关于bfs:
bfs遍历,首先我就想到了用 队列,但是我实现的方式效率并不高,后续再思考吧。
关于图:
对于图,我所掌握的就是一些基本的理论知识,但是一到实际编码就会很吃力。但是图在很多的地方都会用到,所以这块硬骨头还要啃下来。
The text was updated successfully, but these errors were encountered: