Undirected graph is a tree issue

if there is a graph with multiple connected components and each component is a tree then will the graph be considered as a tree or not?

hello @Rj.25
no that will not be considered as a tree.
tree is a connected graph with no loop .

check this -> https://techdifferences.com/difference-between-tree-and-graph.html

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.