Let the 2 missing numbers be a and b .
Let the sum of the 2 missing numbers be S , product be P .

a+b=S -(1)
ab=P -(2)

Solve (1) and (2)

On Wed, Jul 29, 2009 at 7:30 PM, Vikram Sridar <vikramsridar...@gmail.com>wrote:

> nice one channa.. much like my solution.. same complexity n memory
> requiements
> but pulling that wonderful use of the Xor gate was great show indeed.. very
> impressive solution
>
>
>
> >
>

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