ID | Problem Name | Solution | Time | Space | Note |
---|---|---|---|---|---|
00 | Edge List Representation | C++ | O(E) |
O(E) |
|
01 | Adjacency Hashset Representation | C++ | O(D) |
O(E) |
|
02 | Adjacency Matrix With Multiple Edges | C++ | - |
O(V^2 + E) |
|
03 | Adjacency-Based Repr For Flights | C++ | O(V + E) |
O(V + E) |
|
04 | Image As A Graph | C++ | O(N * M) |
O(N * M) |
|
05 | Print Chains | C++ | O(N * M) |
O(N * M) |
|
06 | Print Paths of length 2 | C++ | O(V * E) |
O(V + E) |
graph_representation
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||