3 ms·
Having an array 'view' with a pointer to the end of the array seems much more simple to manage that having to manage a sentinel value. Less accidentally quadra
by renox 6y ago
Having an array 'view' with a pointer to the end of the array seems much more simple to manage that having to manage a sentinel value.
Less accidentally quadratic algorithms, this way!