and for finding missing 2 elements= O(n)+O(n)+O(n)+O(n) so total will be O(n) but there will be no overflow
On Mon, Jul 18, 2011 at 6:41 PM, Nishant Mittal <[email protected]>wrote: > @ankit.... for removing duplicates=O(n)+O(n) > > > > On Mon, Jul 18, 2011 at 6:36 PM, ankit sambyal <[email protected]>wrote: > >> @nishant : Time complexity ?????? will increase too much >> >> -- >> 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. >> >> > -- 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.
