[algogeeks] Re: 1 to 1 Lack numbers in a stream .. find the missing number

2005-12-20 Thread Dhyanesh
This problem has already been solved on this group before. See previous threads for title Missing Numbers. It is done by XORing.-DhyaneshOn 12/20/05, Uppala Babu [EMAIL PROTECTED] wrote: you have been a long input stream of 1 to 1Lakh number in which one number is missing and in place of that

[algogeeks] Re: 1 to 1 Lack numbers in a stream .. find the missing number

2005-12-20 Thread sudhakar-aluri
one correction --- while ( k 0) this should be while ( k 0)