←back to thread

1764 points fatihky | 2 comments | | HN request time: 0.54s | source
Show context
sonoffett ◴[] No.12701639[source]
quicksort is O(n^2) which is definitely not the "best big-O" for sorting.
replies(4): >>12701670 #>>12701718 #>>12701729 #>>12701867 #
sonoffett ◴[] No.12701670[source]
"how do you count the bits most efficiently?"

What does this even mean?

replies(2): >>12701753 #>>12701756 #
1. UK-AL ◴[] No.12701753[source]
What i think he means is counting the amount of set(1) bits in the array,
replies(1): >>12701768 #
2. sonoffett ◴[] No.12701768[source]
Thanks, the question makes more sense now :)