Skip to main content

One doc tagged with "bit-manipulation"

View all tags

Rebuilding a Number

Two lines of arithmetic - peel the last digit off, append a digit on - and a choice of base. Every problem here is those two lines wearing different clothes.