1. Write your own class of stack using Dynamic array with:
a. Constructor
b. The basic functions (push, pop, size, top, empty)
c. The big three (copy constructor, destructor, assignment operator)
2. Write your own class of queue using Dynamic array with:
a. Constructor
b. The basic functions (push, pop, size, front, empty)
c. The big three (copy constructor, destructor, assignment operator)
3. Write your own class of priority queue using Dynamic array with:
a. Constructor
b. The basic functions (push, pop, size, top, empty)
c. The big three (copy constructor, destructor, assignment operator)
Note: Assume lower values have a higher priority.
4. Write a class using two stacks of your stack class to simulate a queue and their basic
functions (push, pop, size, front, empty).
5. Write a class using two queues of your queue class to simulate a stack and their basic
functions (push, pop, size, top, empty).
21200, 4, CSC, Homework, –
[SOLVED] Csc 21200 – homework 4
$25
File Name: Csc_21200_–__homework_4.zip
File Size: 235.5 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.