0

Can anyone tell me how to represent graph using vector through adjacency matrix & list . Also how to represent tree in c & c++ . How to represent graph using adjacency matrix & list in C .

MD MAHBUB ALAM
  • 57
  • 2
  • 3
  • 9

1 Answers1

0

The Algorithm Design Manual has a nice chapter on graphs.

Classic Data Structures In C++ has a nice chapter on trees.

duffymo
  • 305,152
  • 44
  • 369
  • 561