4 ms·
> This is a bug, because the C++ standard mandates a worst case of O(n log n). Specifically, this is a requirement in C++11. Earlier C++ standards only require
by tveita 12y ago
> This is a bug, because the C++ standard mandates a worst case of O(n log n).
Specifically, this is a requirement in C++11. Earlier C++ standards only require it to be average-case O(n log n).