3 ms·
Fair point. There are certainly other options like realloc'ing the memory for the array, if you want to keep constant time indexing.
by nuclx 8y ago
Fair point. There are certainly other options like realloc'ing the memory for the array, if you want to keep constant time indexing.