recategorized by
1,389 views
1 votes
1 votes
closed as a duplicate of: GATE IT 2004 | Question: 13

Let P be a single linked list.Let Q be a pointer to an intermediate node 'X' in the list.What is the worst case time complexity of best known algorithm to delete the node 'X ' from the list

recategorized by

Related questions

0 votes
0 votes
1 answer
1
Mrityudoot asked Feb 25
178 views
How can we find the highest element in a singly linked list in O(1)? We are free to use any extra space.
0 votes
0 votes
1 answer
3
Vaishnavi01 asked Sep 17, 2018
643 views
struct node* foo(struct node* a, struct node* b){ struct node* result, *rec; if(a==null) return b; else if(b==null) return a; else { rec=foo(a->next,b->next...
1 votes
1 votes
1 answer
4
pradeepchaudhary asked Aug 19, 2018
1,799 views
What kind of linked list is best to answer question like “What is the item at position n?”a) Singly linked listb) Doubly linked listc) Circular linked listd) Array im...