recursive add binary numbers

Posted by davit-datuashvili on Stack Overflow See other posts from Stack Overflow or by davit-datuashvili
Published on 2010-06-07T08:51:12Z Indexed on 2010/06/07 9:02 UTC
Read the original article Hit count: 244

Filed under:

i need following algorithm let say we have 5 //101 and 7 //111 numbers are arbitrary i need to add these numbers using the recursive method and at the same time using bitwise methods such that result should be

101
+
111
 110 0 

or 12 can anybody help me?

© Stack Overflow or respective owner

Related posts about algorithm