In this problem as soon as we encounter any element repeating we have to break the chain there right?
Or maybe there are unique elements after repeated elements we have to include them in the cycle
for example 1 2 3 4 5 2 3 7 4 8
output - 1 2 3 4 5 7 8
or output - 1 2 3 4 5
Regarding Cycle in Circular Linked List Challenge
Yes , there are unique elements before the list is repeated . When you start getting the repeating elements then after that the list is not going to contain any unique no , the list will contain only the no’s you have encountered earlier .