Assuming that a directed graph with n vertexs and e edges is represented by an adjacency list, the time complexity of deleting all edges related to a certain vertex v is ().
A、O(n);
B、O(e);
C、O(n+e);
D、O(n*e)
发布时间:2025-11-18 20:22:52
A、O(n);
B、O(e);
C、O(n+e);
D、O(n*e)