Computer Science, asked by firojreahman3096, 1 month ago

The memory use of an adjacency matrix is​

Answers

Answered by Sheetal9650
5

Answer:

For any directed graph, an adjacency matrix (at 1 bit per edge) consumes n^2 * (1) bits of memory. ... For an adjacency list, you can use the follow formula to determine the maximum number of edges ( e ) before an adjacency matrix is optimal for memory.

Answered by XxSANDHUxX
2

\Huge{\textbf{\textsf{{\color{navy}{An}}{\purple{sw}}{\pink{er}}{\color{pink}{:}}}}}

For any directed graph, an adjacency matrix (at 1 bit per edge) consumes n^2 * (1) bits of memory. ... For an adjacency list, you can use the follow formula to determine the maximum number of edges ( e ) before an adjacency matrix is optimal for memory.

Similar questions