Cycle detection using a stack

@article{Nivasch2004CycleDU,
  title={Cycle detection using a stack},
  author={Gabriel Nivasch},
  journal={Inf. Process. Lett.},
  year={2004},
  volume={90},
  pages={135-140}
}
We present an algorithm for detecting periodicity in sequences produced by repeated application of a given function. Our algorithm uses logarithmic memory with high probability, runs in linear time, and is guaranteed to stop within the second loop through the cycle. We also present a partitioning technique that offers a time/memory tradeoff. Our algorithm… CONTINUE READING

1 Figure or Table

Topics

Statistics

051015'05'06'07'08'09'10'11'12'13'14'15'16'17'18
Citations per Year

54 Citations

Semantic Scholar estimates that this publication has 54 citations based on the available data.

See our FAQ for additional information.