Question:Consider a linked list of n elements which is pointed by an external pointer. What is the time taken to delete the element which is a successor of the pointed element by a given pointer? 

A O(1) 

B O(log2n) 

C O(n) 

D O(n*log2n) 

+ Answer
+ Report
Total Preview: 6521

Copyright © 2024. Powered by Intellect Software Ltd