Description

You are tasked with implementing three different queues:

  1. Dynamic Array FIFO Queue
  2. Doubly Linked List FIFO Queue
  3. Priority Queue

You are also to write a driver program called ‘AssignmentQueueDriver.java’.

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

Driver Program

The driver should start by prompting the user for the type of queue he or she would like:

What type of queue would you like:

  1. Array FIFO Queue
  2. Linked List FIFO Queue
  3. Priority Queue

Next, the program should loop on the following prompt:

What would you like to do:

  1. Add item to queue
  2. Dequeue
  3. Quit

If the user selects option 1, then prompt the user for the name of the new assignment, followed by the value and days until due. If the second option is selected, then dequeue from the queue and print out the object (use the toString provided).

Test Cases

As with all our projects, you are expected to generate your own test cases. Consider dequeing from an empty queue. What if an assignment has 0 days until due?

Write Up

  1. Run time Analysis: Use Big-Oh notation to give the runtime complexity of each sorting method you implemented
 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.