@Saurabh : awesome solution...

Sanju
:)



On Sun, Aug 28, 2011 at 9:22 AM, Dave <dave_and_da...@juno.com> 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 <shravanthium...@gmail.com> 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 algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> 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 algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to