Too Long; Didn't Read
A graph data structure defined is a non-linear data structure that has nodes and edges. Every graph has a finite set of nodes and vertices. A null graph contains zero order, there is no interconnection between the nodes. The concept of a mutual friend on a social media platform like LinkedIn, Facebook, Instagram, etc. internally implements a graph. We implement graphs in such a way that each node is a person in the network and it has attributes like id, name, age, etc.