According to me we can apply the equatin method :

Let the missing number be y.
Let the duplicated no. be x.

1. then find the product of the 1 to 100 and the sum 1 to 100 :A
   Product would be of the form...1 *2*3....x*......y*....100 : B
   Sum : 1+2+3.....+x....+y.....+100

2. find the prduct of array elements : P
   find the sum of array elemnts : S

3.  then A/P = y/x
     B-S = y-x

   Now solve the equations

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to