Question: This is a Data Structure and Analysis of Algorithm course question. Question No 3: Imagine a box (as shown in figure) in which you are
This is a Data Structure and Analysis of Algorithm course question.
Question No 3:
Imagine a box (as shown in figure) in which you are storing books one after another. If you want to take out red book, first you have to take out orange and blue books respectively. After that, you would be able to lift red book. Using double link list implement this scenario. Following feature must be ensure:
1) At any time, I would be able to see how many books I have stored (as stored in box).
2) I would be able to remove and store as many books as I want

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
