3 ms·
Yes.
by jibalt 11y ago
Yes.
- nostrademons 11y agoAh, good. I'd initially written std::sort in the comment and then went back and edited it because I was like "Isn't std::sort usually mergesort? That wouldn't work here because it takes extra space." It's been a while since I've written C++.