Hi

I have one solution probably this might work.
Since the numbers are all unique you can find the sum of all the
numbers
in the array.
Also find the sum of n numbers n*(n+1)/2.
Subtract the second one from the first one you will get the number.


Thanks and Regards,
Girish Dinne,


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to