@saurabh ...very nice solution negating the index :) On Jul 20, 9:59 pm, siva viknesh <[email protected]> wrote: > @shubam............hi i ve asked u to find 2 missing no.s > > eg : a[5] = {1,2, , , 5} > > 3 nd 4 r missing > > as per ur method: > > A - 15-8=7 > B - 55-30=25 > > missing number = ((B/A) + A)/2; = ((25/7)+7)/2= 5 !!!!!!! > > .....can u give a correct algo or correct me if i m wrong :) > > On Jul 20, 1:26 pm, Shubham Maheshwari <[email protected]> > wrote: > > > > > > > > > dats much beter now ... > > :D > > > On Wed, Jul 20, 2011 at 1:53 PM, saurabh singh <[email protected]> wrote: > > > Let my code speak for me......:) > > >http://www.ideone.com/E2LhU > > > > Try to get what I am doing from the code.Its not hard and believe me it > > > will be fun.:) > > > > -- > > > 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. > > > -- > > Shubham Maheshwari > > ShubZz > > O.o o.O > > > enJoY ...!!!
-- 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.
