Do an XOR on all numbers. The resulte is the number which occurs only once

HZ

On 12/30/06, Abhishek <[EMAIL PROTECTED]> wrote:


Hi,
Suppose I have a sequence of numbers in which every number occurs twice
in the sequence except one. Whats the fastest way of finding that
number which occurs only once?
With Regards,
Abhishek S


>


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups-beta.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to