What is an efficient algorithm to find whether a singly linked list is circular/cyclic or not?
73920
How to detect a loop in a linked list?
67088
Closure and pathwise connected
30481
How to avoid perceived circularity when defining a formal language?
151278
Faster approach to checking for an all-zero buffer in C?
106603
How to tell if an array is a permutation in O(n)?
102712
Checking if an integer is a member of an integer list
50586
What is the Big-O of a nested loop, where number of iterations in the inner loop is determined by the current iteration of the outer loop?
74580
How to represent a list as a cycle
16173
Array versus linked-list
24965
Practical Uses for the "Curiously Recurring Template Pattern"
21273
Best practices for circular shift (rotate) operations in C++
72556
Is the closure of path-connected set path connected?
4555
How to write permutations as product of disjoint cycles and transpositions
30570
How do you compare structs for equality in C?
21834
In Python, how do I determine if an object is iterable?
33660
Efficiently selecting a set of random elements from a linked list
91782
Efficiently find the generators of a cyclic group