n为图的顶点个数,e为图中弧的数目,则图的拓扑排序算法的时间复杂度为()
A.O(n) B.O(e) C.O(n-e) D.O(n+e)
O(n)
O(e)
O(n-e)
O(n+e)
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。