Linked List:  Insertion O(n) deletionO(n)
Queue using linked list : Insertion O(1) deletion O(n).



On Tue, Jun 8, 2010 at 1:38 AM, Raj N <[email protected]> wrote:

> What is the time complexity of insertion and deletion in
> 1. Linked list
> 2. Queue
> 3. Queue implemented using a linked list
>
> --
> 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]<algogeeks%[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.

Reply via email to