No. I think you should revisit complexity. That's not how it works.

Factoring a million digit number outputs two numbers. It should take
O(1), right? :D

On Sat, Sep 10, 2011 at 11:56 AM, Neha Singh <[email protected]> wrote:
> we hv to just fill an array of size n, so complexity should be O(n) in worst
> case
>
> --
> 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.
>



-- 
Gaurav Menghani

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