请在 下方输入 要搜索的题目:

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
推荐参考答案 ( 由 题搜搜 官方老师解答 )
答案:O(n+e)
登录 - 搜搜题库网
立即注册
注册 - 搜搜题库网
立即登录