Re:Sort an array using only one local variable
by prmichaelsen on Sunday April 24, 2016 @12:24AM
(#11558545)
Thanks for putting the abs() part to rest. I included it for the sake of having the final code be a little more readable. But yes, indeed, it is possible once more to use bit-wise manipulation to achieve elegant solutions! Thanks for reading! And of course, thanks for posting this blog post, nkurz!
[ Parent
| on HN ]
There are no comments on this comment yet.