Comment by saagarjha
2 years ago
qsort is also only as expensive as what I pass in. If it did a bubble sort internally I would be pretty upset though.
2 years ago
qsort is also only as expensive as what I pass in. If it did a bubble sort internally I would be pretty upset though.
What? snprintf is nothing like doing an O(n^2) computation when O(n log n) was expected.
Right, it’s more like O(m) when you probably wanted O(n).