Journals
Publish with us
Publishing partnerships
About us
Blog
Mathematical Problems in Engineering
Journal overview
For authors
For reviewers
For editors
Table of Contents
Special Issues
Mathematical Problems in Engineering
/
2020
/
Article
/
Tab 1
/
Research Article
Optimal Representation of Large-Scale Graph Data Based on Grid Clustering and
K
2
-Tree
Table 1
Comparison of spatial complexity when using an adjacency matrix and adjacency table for a directed graph and undirected graph.
Graph type
Directed graph
Undirected graph
Adjacency Matrix
O
(
n
2
)
O
(
n
(
n
− 1)/2)
Adjacency List
O
(
n
+
m
)
O
(
n
+
m
)