Computer Science, asked by rfonojasamson, 8 days ago

Difference between tree and graph​

Answers

Answered by muskan146258
8

Explanation:

Vertices are nothing but the nodes in the graph. Two adjacent vertices are joined by edges.

...

Graph vs Tree.

Graph

1 Graph is a non-linear data structure.

tree

Tree is a non-linear data structure.

Graph

2 It is a collection of vertices/nodes and edges.

tree

It is a collection of nodes and edges.

Similar questions