What a poorly worded question
Let me rephrase it for anyone who feels painful to understand the question\n\nLongest Loop in Array\n\nA zero-indexed array A of length N contains all integers 
Let me rephrase it for anyone who feels painful to understand the question\n```\nLongest Loop in Array\n\nA zero-indexed array A of length N contains all integers from 0 to N-1. \nFind and return the length of longest loop S, where A[Si] = S(i+1) and A[Sn] = S0, \nwhere each Si is an element in the array and Sn is the last in the loop\n```
[]