Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
billsimms
· 6y ago · 0 comments
Alternate the digits, or the bits, of the two numbers and prepend 0's onto the shorter number if needed. Accomplishes this in 2n digits or bits instead of 2^n.
Comments
No comments yet.
Better HN