Given a set of unsigned integers. How can I find the bit-permutation so that the maximum number is minimal?
-
-
Ok. So it starts trivially with: any bit positions where everything is a 0 get sorted to the man and any bit position where everything is a 1 get sorted to the lab. And then it gets interesting...
-
Damn spelling correction! man=msb and lab=lsb.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.