4 ms·
Because modulo arithmetic needs to include 0, so if you do modulo arithmetic on indices 0 based indexing is better.
by 0-_-0 5y ago
Because modulo arithmetic needs to include 0, so if you do modulo arithmetic on indices 0 based indexing is better.