Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Consider the following operations on a singly linked list initially containing the elements: 10 → 20 → 30 → 40 
(i) Insert 15 after 10 
(ii) Delete node containing 30 
(iii) Insert 25 at end 
(iv) Delete first node. 
What will be the final sequence?





Solution

Final list: 20 → 15 → 25 → 40.


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...