Graph (กราฟ) เป็นโครงสร้างข้อมูลแบบไม่เชิงเส้น (Non-linear) ประกอบด้วยโหนด (Nodes) จำนวนจำกัด และชุดของเส้นเชื่อม (Edges) ที่เชื่อมคู่ของโหนด
กราฟใช้แก้ปัญหาจริง เช่น การแสดงเครือข่าย (Networks) ในโซเชียลเน็ตเวิร์กต่างๆ
ในส่วนนี้จะครอบคลุมหัวข้อต่อไปนี้:
- Bi-Connected Graph Checking
- Breadth First Search (BFS) for a Graph
- Bridges in a Graph
- Check if a given graph is tree or not
- Connectivity in a directed graph
- Depth First Search (DFS) for a Graph
- Detect Cycle in an Undirected Graph
- Detect Cycle in a Directed Graph
- Euler Circuit in a Directed Graph
- Eulerian Path and Circuit
- Fleury's Algorithm
- Graph Coloring
- How to find if a graph is Bipartite?
- Longest Path in a Directed Acyclic Graph
- Shortest Path in a Directed Acyclic Graph
- Maximum Bipartite Matching
- Shortest path with exactly k Edges
- Snake and Ladder Problem
- Strongly Connected Graphs
- Tarjan's Algorithm for Strongly Connected Components
- Topological Sorting
- Transitive closure of a Graph
- Ford Fulkerson Algorithm
- Check For Star Graph
- Bellman–Ford Algorithm for Shortest Paths