DSA
Assignment #3
Note: Assignment should be in hand written, on each page enter your name and reg#, save file as your reg#
Just perform dry tun no need to write program or algorithms
Question: perform the following tasks separately for simple, Circular and Double ended queues
Create a queue of size 10
Insert following values
3, 13, 4, 5, 6, 8, 9, 11, 10
Check status of queue
Insert 1 before 3 if possible?
Traverse the queue
Insert 14
Traverse queue
Remove 9 if possible?
Remove 1 if inserted in queue (task 4)
Traverse queue
Remove 3
Remove all elements of queue except last one
Traverse queue
Share with your friends: |