edited by
608 views

2 Answers

1 votes
1 votes
For consecutive nodes with same data all except the first node will be deleted. So, option D.
0 votes
0 votes
All the nodes will be deleted except the first node if all the node value is same otherwise if two adjacent node contain the same value then one of them will be deleted which comes later.

Related questions

1 votes
1 votes
1 answer
2
Pradip Nichite asked Jan 22, 2016
745 views
Here, what will be the Head->Next , I am confused is it first element 50 or second element 29.