Is the number set random? Or is it sequential from 1 to n-1?
On 8/15/06, shashi_genius <[EMAIL PROTECTED]> wrote:
There are n numbers with all (n-1) unique numbers, except for one which
is repeating.
Find out the repeating number in O(n) complexity.
--~--~---------~--~----~------------~-------~--~----~
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.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---
- [algogeeks] Try this .. shashi_genius
- [algogeeks] Re: Try this .. Lego Haryanto
- [algogeeks] Re: Try this .. Lego Haryanto
- [algogeeks] Re: Try this .. ridvansg
- [algogeeks] Re: Try this .. Lego Haryanto
- [algogeeks] Re: Try this .. akshay ranjan
- [algogeeks] Re: Try this .. Vishal
- [algogeeks] Re: Try this .... akshay ranjan
- [algogeeks] Re: Try th... Lego Haryanto
- [algogeeks] Re: Tr... akshay ranjan
- [algogeeks] Re: Tr... shashi_genius
- [algogeeks] Re: Try this .. Balasubramaniam Mariappan