Re: [algogeeks] adobe problem---array

2010-07-07 Thread jalaj jaiswal
you have misinterpreted the questn.. 1 simply means 1 occurences we have to do this inplace On Wed, Jul 7, 2010 at 10:37 AM, Ashish Goel ashg...@gmail.com wrote: i thought the same way, but in this case 4 is being repeated twice, but is not nullified it is ctually getting nullified,

Re: [algogeeks] adobe problem---array

2010-07-07 Thread Satya
not to complicate the question, if it is sorted, then its simple!! . Satya On Wed, Jul 7, 2010 at 3:05 PM, jalaj jaiswal jalaj.jaiswa...@gmail.comwrote: you have misinterpreted the questn.. 1 simply means 1 occurences we have to do this inplace On Wed, Jul 7, 2010 at 10:37 AM,

Re: [algogeeks] adobe problem---array

2010-07-06 Thread Jitendra Kushwaha
Any boundation on the range of elements?? -- Regards Jitendra Kushwaha MNNIT, Allahabad -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send

Re: [algogeeks] adobe problem---array

2010-07-06 Thread Chonku
Just to clarify, when you say repeating 1 time means 2 occurences. Similarly, repeating 2 times means 3, etc. ? On Mon, Jul 5, 2010 at 7:18 PM, jalaj jaiswal jalaj.jaiswa...@gmail.comwrote: Given an array of integers where some numbers repeat 1 time, some numbers repeat 2 times and only one

Re: [algogeeks] adobe problem---array

2010-07-06 Thread Ashish Goel
i thought the same way, but in this case 4 is being repeated twice, but is not nullified it is ctually getting nullified, but it is indeed contributing to bit 2 so how do i rule out 4 here? Best Regards Ashish Goel Think positive and find fuel in failure +919985813081 +919966006652 On

[algogeeks] adobe problem---array

2010-07-05 Thread jalaj jaiswal
Given an array of integers where some numbers repeat 1 time, some numbers repeat 2 times and only one number repeats 3 times, how do you find the number that repeat 3 times. can xor do something here ?? -- With Regards, Jalaj Jaiswal +919026283397 B.TECH IT IIIT ALLAHABAD -- You received this