Reversing an n-bit number in O(log n) | Dark Hacker News