Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Graphs

Graph algorithms covering traversal, shortest paths, minimum spanning trees, and advanced topics.

Key Concepts Covered

  • Graph representations (adjacency list, matrix)
  • Depth-First Search (DFS)
  • Breadth-First Search (BFS)
  • Shortest path algorithms (Dijkstra, Bellman-Ford)
  • Minimum Spanning Tree (MST) - Kruskal's, Prim's
  • Cycle detection (directed & undirected)
  • Topological sorting
  • Bipartite graph checking
  • Articulation points and bridges
  • Connected components

Problems in this Directory

Graph Basics

Bipartite Graphs

Cycle Detection

Minimum Spanning Tree (MST)

Topological Sorting

Articulation Points & Bridges

Island/Grid Problems

Shortest Path

Path Finding

Connectivity

DFS/BFS Applications

Special Problems

Advanced Topics

Tips

  • Choose the right representation for the problem
  • DFS for connectivity, paths, cycles
  • BFS for shortest paths in unweighted graphs
  • Use visited array to avoid infinite loops
  • Practice both recursive and iterative DFS
Morty Proxy This is a proxified and sanitized view of the page, visit original site.