[algogeeks] find the integer

2011-07-08 Thread Dumanshu
given an array of intergers. find the any integer that occurs only once. Others might occur any no. of times. -- 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

Re: [algogeeks] find the integer

2011-07-08 Thread Piyush Sinha
is there anyting special about the array??? or it is aribitary array?? On 7/8/11, Dumanshu duman...@gmail.com wrote: given an array of intergers. find the any integer that occurs only once. Others might occur any no. of times. -- You received this message because you are subscribed to the

Re: [algogeeks] find the integer

2011-07-08 Thread saurabh singh
The obvious solution without any constraint appear to be hash table. And will the number be unique? for eg can the array be like {2,2,3,3,3,1,5}? On Fri, Jul 8, 2011 at 7:51 PM, Piyush Sinha ecstasy.piy...@gmail.comwrote: is there anyting special about the array??? or it is aribitary array??

Re: [algogeeks] find the integer

2011-07-08 Thread shady
constraints ? always give example problems are always stated with atleast one input and output... On Fri, Jul 8, 2011 at 7:32 PM, Dumanshu duman...@gmail.com wrote: given an array of intergers. find the any