|
|
|
|
|
by ironmagma
2003 days ago
|
|
The mental model doesn’t really jive with circularity since arr[arr.length] is not the same as arr[0] in any language that I know of. With a circle, you would expect that arr[0], arr[length], and arr[2*length] are all identical. |
|