@Saurabh : awesome solution...

Sanju
:)



On Sun, Aug 28, 2011 at 9:22 AM, Dave <[email protected]> wrote:

> @Shravanthi: Write a and b in binary, and then apply the bitwise
> exclusive-or to them and you will see why.
>
> Dave
>
> On Aug 28, 9:24 am, Shravanthi U M <[email protected]> wrote:
> > if we give a=10, b=5 we get a^b=15
> > but wen a=10,b=7 we get a^b=13
> >
> > why s it so,..???
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to