Calculate n + 1 without using + or - or * or /
https://news.ycombinator.com/item?id=2721032As the title asks! My buddy came across this while preparing for an interview.
All I could think of is implementing a full adder in software but I'm thinking there has to be a better solution...help!