Created
March 12, 2020 06:48
-
-
Save Prottoy2938/b77a66499bab743e6f57c1907f36b524 to your computer and use it in GitHub Desktop.
Tree Data Structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In graph theory, a tree is an undirected graph in which any two vertices are connected by exactly one path, | |
or equivalently a connected acyclic undirected graph. | |
Which means, in a graph, we can reach a certain node in many different ways, but in a tree there should be only ONE way to reach that node. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment