recategorized by
1,429 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


Deprecated: Implicit conversion from float-string "1708870560.683" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1708870560.683" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1708870560.683" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1708870560.683" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1659709854.753" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1659709854.753" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1659709854.753" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1659709854.753" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1537160657.959" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1537160657.959" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1537160657.959" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1537160657.959" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1534695420.010" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1534695420.010" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1534695420.010" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1534695420.010" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
147
views
1 answers
0 votes
Mrityudoot asked Feb 25
147 views
How can we find the highest element in a singly linked list in O(1)? We are free to use any extra space.
693
views
1 answers
1 votes
ykrishnay asked Aug 5, 2022
693 views
as we allocate the space for node in linked list using malloc() so how many bytes malloc allocate for the 1 node i.e. actual value of malloc allocates in ram like i write...
656
views
1 answers
0 votes
Vaishnavi01 asked Sep 17, 2018
656 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.8k
views
1 answers
1 votes
pradeepchaudhary asked Aug 19, 2018
1,792 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...
Total PHP MySQL Other RAM
Time (ms) % Time (ms) % File count Time (ms) % Query count Time (ms) % Amount %
Setup 4.4 7% 2.8 4% 72 1.8 2% 2 0.0 0% 569k 43%
Control 15.9 26% 2.0 3% 5 14.4 23% 12 0.0 0% 287k 21%
View 2.0 3% 2.0 3% 12 0.0 0% 0 0.0 0% 136k 10%
Theme 32.3 53% 4.2 6% 15 28.3 46% 3 0.0 0% 315k 24%
Stats 6.0 9% 0.1 0% 0 6.0 9% 1 0.0 0% 0k 0%
Total 60.7 100% 11.0 18% 104 50.4 83% 18 0.0 0% 1310k 100%