Try {2, 1}
On Sat, Aug 1, 2009 at 11:45 AM, Devi G <devs...@gmail.com> wrote:

> @Vivek
> I had told abt tat border case already once..
>
> Suppose the two missin numbers are greater than n, then m==0 when exitin
> the loop.
> So they will be n+1 and n+2 only.
>
> in case, one of the missin numbers is greater than n, then m==1, and can be
> simply found by subtracting the (array_sum+x[0] ) from (sumof 1 to n+2)
> numbers.
>
> Hope it works..
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
algogeeks+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to