为什么DFSUtil函数在图的DFS遍历中是私有的?

时间:2019-12-13 06:07:52

标签: c++ oop graph

有人可以解释如果DFSUtil保持公开状态怎么办? 参考:https://www.geeksforgeeks.org/depth-first-search-or-dfs-for-a-graph/

0 个答案:

没有答案