Skip to main content

#Graph Algorithms

Browse articles tagged with #Graph Algorithms

  • DSA Problems

    Pacific Atlantic Water Flow Problem Solution

    Complete Java implementation for finding cells where water can flow to both Pacific and Atlantic oceans in a grid.

  • DSA Patterns

    Cycle Detection in Undirected Graphs Using Union-Find

    Complete Java solution for detecting cycles in undirected graphs using Union-Find disjoint set data structure with O(E α(V)) time complexity.

  • DSA Patterns

    Connected Components in Graphs and Grids

    Complete guide to finding connected components using Union-Find, DFS, and BFS approaches with Java implementations for FAANG interviews.

  • DSA Patterns

    Dynamic Connectivity Algorithms and Applications

    Comprehensive guide to dynamic connectivity problems including Union-Find, connectivity queries, and network reliability algorithms with Java implementations.

  • DSA Patterns

    Cycle Detection in Directed Graphs Using DFS

    Complete Java solution for detecting cycles in directed graphs with time complexity analysis and implementation trade-offs.

  • DSA Patterns

    Breadth-First Search Queue Patterns in Java

    Comprehensive guide to BFS queue patterns including level-order traversal, shortest path finding, and multi-source exploration with practical Java implementations.

Stay in the Loop

Get curated DSA patterns, coding problems, frontend and backend LLD/HLD, and AI/ML System Design insights delivered straight to your inbox. No spam, just focused interview and engineering content.