3 ms·
Eh. You have to assess whether the list is sorted before you destroy the universe, thus increasing the total algorithm runtime complexity.
by tomrod 6y ago
Eh. You have to assess whether the list is sorted before you destroy the universe, thus increasing the total algorithm runtime complexity.