4 ms·
No, because you're erasing the cells in order. So the first nonempty cell will get progressively further from the beginning.
by alexbecker 12y ago
No, because you're erasing the cells in order. So the first nonempty cell will get progressively further from the beginning.