In a linked list with n nodes, the time taken to insert an element after an element pointed by some pointer will be ?  

Solution

In a linked list with n nodes, the time taken to insert an element after an element pointed by some pointer will be O(1).

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media