Skip to main content

#Cycle Detection

Browse articles tagged with #Cycle Detection

  • 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

    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

    Detecting Cycles in Linked Lists and Graphs

    Comprehensive guide to cycle detection algorithms including Floyd's Tortoise and Hare, DFS-based approaches, and practical implementation strategies for FAANG interviews.

  • DSA Patterns

    Fast Slow Pointer Algorithm Patterns in Java

    Comprehensive guide to fast/slow pointer techniques for linked list cycle detection, middle element finding, and related algorithmic problems with 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.