0 0 votes If G = (V,E) is a directed graph, then length of adjacency list is ______ and it requires ______ amount of memory. 1 2|E|, θ(V) 2 |E|, θ(V+E) Correct Answer 3 |E|, θ(E) 4 2|E|, θ(V+E) Shouldnt the ans be 2|E| for the length of the adjacency list as every edge would be stored twice? Algorithms + – anjali007 1.1k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Mk Utkarsh commented Dec 19, 2018 reply Follow flag length of adjacency list is $|V|$. length is $6$ here right? 1 1 replyShare anjali007 commented Dec 19, 2018 reply Follow flag @Mk Utkarsh ya length is 6.. But by size I meant that even the links okay ya I got it. Thanks! As it is directed graph it will only be at one place.. If the graph would have been undirected then it would have been 2|E| na? 0 0 replyShare Please log in or register to add a comment.