381 views
1 votes
1 votes
Can we reverse a linked list in less than O(n) time??

1 Answer

Related questions

690
views
0 answers
2 votes
3.7k
views
1 answers
1 votes
Ashish Roy 1 asked Dec 3, 2018
3,694 views
You're entrusted with the task of deleting a node in a singly linkedlist, whose data field is 'x'. Note that, the node which is to be deleted can ... linked list.Which of the following options is correct? How deletion possible with S2?
683
views
0 answers
1 votes
Jaspreet Singh 4 asked Oct 14, 2017
683 views
Consider the following code which is used to detect the loop in the linked list. Find the missing statement A?p = head; q = head->next; while(A) { if(p == q) ... is q!=NULL and it is in one of the options. Please correct me if I am wrong.