use hashing.

On Wed, Jul 29, 2009 at 4:50 PM, Vijayasarathy K <vijaykan....@gmail.com>wrote:

>
> Consider an array of 'n' elements which contains all except 2 numbers
> from 1....(n + 2). How can we find the 2 missing elements?
>
> >
>


-- 
Ciao,
Ajinkya

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