67 Views

graphs in data structures and algorithms


Grag 7th Sep, 2021
Answer (1)
shikha jindal 7th Sep, 2021

A Graph is a non-linear data structure consisting of nodes and edges. The nodes are sometimes also referred to as vertices and the edges are lines or arcs that connect any two nodes in the graph.Graphs are used to solve many real-life problems. Graphs are used to represent networks. The networks may include paths in a city or telephone network or circuit network. Graphs are also used in social networks like linkedIn, Facebook. For example, in Facebook, each person is represented with a vertex(or node). Each node is a structure and contains information like person id, name, gender, locale etc.

Related Questions

Amity University,Noida BBA Ad...
Apply
Ranked amongst top 3% universities globally (QS Rankings)
Sanskriti University BBA Admi...
Apply
BBA Admissions 2024 | 200+ Companies | Highest CTC 54 LPA | Scholarship Available
India's Biggest Liberal Arts ...
Apply
50+ Institutes, 200+ Programs, 100+ Scholarships, On-spot Admission opportunities, Cashback on application fees & much more
AIMS-ATMA 2024
Apply
National Level Entrance Test | Recognized by Over 200 Top B-Schools across India
DBS Global University B.Tech ...
Apply
Recruiters: TCS, Wipro, HCL, Infosys, Tech Mahindra etc
Amity University, Noida B.Tec...
Apply
Asia's Only University with the Highest US & UK Accreditation
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books