Reincodes
Portfolio & DSA Visualizer
github
linkedin
email
Edge List
2,0 0,3 2,1 3,1
Adjacency List
0
->
2
3
1
->
2
3
2
->
0
1
3
->
0
1
Number of components in undirected graph:
1
Is Graph a Valid Tree (No cycle & all nodes are connected)?:
No
Sample graphs:
graph w/ 1 component
graph w/ 2 component