Given a sequence, write a program to detect cycles within it.A file containing a sequence of numbers (space delimited). The file can have multiple such lines. e.g
2 0 6 3 1 6 3 1 6 3 1
6 3 1
help me please.....!!