This repository consists of Graph problems which are implemented using Java.
- Adjacency matrix creation (Normal case)
- Adjacency matrix creation (Weight case with single edge between the nodes)
- Adjacency matrix creation (Weight case with multiple edge between the nodes)
- Adjacency List creation (normal case)
- Adjacency list creation (with weights)
- BFS traversal
- DFS traversal
- Cycle detection in undirected graph using BFS
- Cycle detection in undirected graph using DFS
- Check Bipartite graph using BFS
- Check Bipartite graph using DFS
- Cycle detection in directed graph using DFS
- Topological sort using DFS
- Topological sort using BFS (Kahn's Algorithm)