yes, correct, both solutions are correct, but here there is a chance of overflow.
On Mon, Nov 19, 2012 at 3:11 PM, shashi kant <shashiski...@gmail.com> wrote: > @RushirajPatel if you happen to have looked at the page ..3rd solution is > the XOR one which is may be a solution for 2 missing numbers.... > but the trick can well be used here.. > have a close look there > > -- > > > --