Vidyalelo
Data Structure · Q139

Introduction to Data Structures

Programming · Data Structure · question 139

Q139

After performing these set of operations, what does the final list look contain? InsertFront(10); InsertFront(20); InsertRear(30); DeleteFront(); InsertRear(40); InsertRear(10); DeleteRear(); InsertRear(15); display();

A.
10 30 10 15
B.
20 30 40 15
C.
20 30 40 10
D.
10 30 40 15
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board