0% completed
Better Solution w/ Time Complexity O(N), Space complexity O(1)
kfaham
Jul 29, 2025
0
12
0
Jul 29, 2025
Task lacks constraints or is incorrect
Denys Stopkin
Jul 20, 2025
0
6
0
Jul 20, 2025
Cycle in a Circular Array, An Alternate Approach :O(N) fails for [2, 2, -3, -1]
Ashutosh Kumar
Apr 23, 2025
0
6
0
Apr 23, 2025
Better solution
Ankit Joshi
Apr 20, 2025
0
16
1
Apr 20, 2025
I think I might have a solution with O(N) time complexity and O(1) space time complexity
PARUNIDAN V K
Apr 9, 2025
0
12
1
Apr 20, 2025
In C++ alternative solution, negative index calculation should be corrected.
Kai
Apr 1, 2025
0
3
0
Apr 1, 2025
Alternate Solution Wrong. Here the counterexample:
subscriptions.michel
Mar 11, 2025
1
10
0
Apr 24, 2025
the official solution is buggy please see why with my solution
Mohammed Dh Abbas
Jul 7, 2024
0
71
1
Aug 15, 2024
Wrong Example
John Snow
Jan 6, 2024
0
100
1
Jan 9, 2024
There may be a bug in the final soln
kfaham
Nov 30, 2023
1
64
1
Jan 20, 2025
why are we checking for direction again when calculating nextIndex?
Aniket Joshi
Jul 16, 2023
0
48
0
Jul 16, 2023
use a hash
Yuqi
Feb 28, 2023
0
63
0
Feb 28, 2023
It would be really helpful if code for Alternate Approach that improves algorith...
Naresh Ch
Jun 28, 2022
8
98
0
Aug 18, 2024
The test Java code runs, but when I do a walk through of the second array the fi...
Ben
May 4, 2022
0
41
0
Jun 28, 2022