Define graph and tree data structure. Explain breadth first traversal and depth first traversal with example.
Marks: 10
Year: 2019 Final TU FOHSS
Graph Data Structure Definition A graph is a non-linear data structure consisting of a set of vertices (nodes) and a set of edges that connect pairs of vertices. Graphs can be directed or undirecte