Skip to content

module

module based position

GCD(Greatest Common Divisor) determines how many nodes the pointer visists.

Can module tranvers every item for a circle list?

Only if the number of steps per iteration is coprime with the cycle length. gcd(s,C)=1