solution-review-problem-challenge-3__pattern-fast-slow-pointers__grokking-the-coding-interview-patterns-for-coding-questions
Topic | Replies | Views | Activity | |
---|---|---|---|---|
I don't understand this line: next_index = (current_index + arr[current_index]) % len(arr) |
![]() ![]() |
1 | 35 | May 24, 2022 |
Given Solution has a Bug! |
![]() ![]() |
1 | 121 | December 21, 2021 |
Is this correctly memoized? |
![]() |
0 | 128 | March 24, 2021 |
Slow, fast pointers not really necessary in the O(n) solution |
![]() ![]() |
1 | 243 | March 21, 2021 |
Alternate solution - do you see an issue with my approach |
![]() ![]() |
1 | 201 | February 19, 2020 |