3 ms·
O(n log 5) is O(n). There's no cheating, sorting small arrays in a list is a completely different problem from sorting a large array.
by marcosdumay 2y ago
O(n log 5) is O(n). There's no cheating, sorting small arrays in a list is a completely different problem from sorting a large array.