In this Blog, you are going to learn to design and implement the graph data structure using OOP (Object Oriented Programming) Concepts. We will implement in Java but the ideas are applicable in any language.
First You need to understand What is Graph Data Structure all about? Learn from here
The main components of graph are:
Vertex/Nodes Edges
So, how can we initialize these components using Object-Oriented Concepts ?
Let's talk about nodes(vertex),
We need to have multiple nodes in graph...
Published on December 08, 2020 13:03