Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Algorithms Graphs/Spanning Tree and Shortest Paths Graph Search
Which of the following statement are true from the statements given below?
Statement 1: A tree is a graph but a graph is not a tree.
Statement 2: Both trees and graphs are non-linear data structures.
1
Only Statement 1 is true
2
Only Statement 2 is true
3
Both statement 1 and statement 2 are true
4
None is true