给定有向图的邻接表表示,计算每个顶点的出度需要多长时间?计算学位需要多长时间?
谢谢
algorithm graph adjacency-list
adjacency-list ×1
algorithm ×1
graph ×1