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: Option D

Join The Discussion