2 problems using this pattern
Problems involving vertices, edges, and relationships between entities.
O(V + E)
(2 problems)
O(V)
(2 problems)