[問題] 請教這題~~
Which one is the running time for the topological sort problem with │V│
vertices and │E│ edges?
(a) O(V+E)
(b) O(V^2)
(c) O(E㏒V)
(d) O(V^2)
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.131.228.100
推
140.121.140.121 06/29, , 1F
140.121.140.121 06/29, 1F
推
218.166.214.183 06/29, , 2F
218.166.214.183 06/29, 2F
→
218.166.214.183 06/29, , 3F
218.166.214.183 06/29, 3F
推
210.61.129.206 06/29, , 4F
210.61.129.206 06/29, 4F