Dsa assignment #3 Note



Download 13.1 Kb.
Date11.02.2023
Size13.1 Kb.
#60630
DSA Assign 3
HarrahsCaseStudy

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





  1. Create a queue of size 10

  2. Insert following values

    1. 3, 13, 4, 5, 6, 8, 9, 11, 10

  3. Check status of queue

  4. Insert 1 before 3 if possible?

  5. Traverse the queue

  6. Insert 14

  7. Traverse queue

  8. Remove 9 if possible?

  9. Remove 1 if inserted in queue (task 4)

  10. Traverse queue

  11. Remove 3

  12. Remove all elements of queue except last one

  13. Traverse queue

Download 13.1 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page