C# Cyclic Numbers Array Check Help
I'm doing a homework for my Programming Fundamentals subject, which requires me to enter N numbers into array A, tell if array A is cyclic?
This is my progress so far:
7 Replies
what does cyclic mean?
So this is the definition from my lecturer:
Question: Enter N numbers into array A, tell if array A is cyclic?
* Definition: a periodic number is a number that repeats its value at regular intervals or cycles, For example:
A = (1,3,2,1,3,2,1) ----> A is a non-cyclic number series
A = (2,5,3,2,5,3,2,5,3) ----> A is a cyclic series
I used a translation app for this definition
ok so how you plan to do this
there are simpler ways and more complicated ways
can you show me a simple way?
I've been struggling to understand how to do this based on the answer of chatgpt
what algorithms did you think of
I can't think of anything 🤷
I still have not learned about algorithm
😐
how do you recognize a sequence that repeats?
like you you