Movatterモバイル変換


[0]ホーム

URL:


Open In App

Graph is a non-linear data structure like tree data structure. The limitation of tree is, it can only represent hierarchical data. For situations where nodes or vertices are randomly connected with each other other, we use Graph. Example situations where we use graph data structure are, a social network, a computer network, a network of locations used in GPS and many more examples where different nodes or vertices are connected without any hierarchic or constraint on structure.

Basics

BFS and DFS

Cycles

Shortest Path

Minimum Spanning Tree

Topological Sorting

Connectivity in Graph

Maximum Flow in Graph

Some must do Problems

If you are looking for difficulty-wise list of problems, please refer to Graph Data Structure.

Some Quizzes

Quick Links :

Recommended:


Introduction to Graph
Visit Courseexplore course icon
Video Thumbnail

Introduction to Graph

Video Thumbnail

Graph Representation (Adjacency Matrix)

Video Thumbnail

Graph Representation (Adjacency List)

Video Thumbnail

GRAPH Data Structure | What is Graph? | DSA Course

Improve
Improve
Article Tags :

Explore

Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences

[8]ページ先頭

©2009-2025 Movatter.jp