Question: Assignment 2-Linked List Instruction: a. Answer all question. b. For each program, show at least 5 different tests / output. C. Submit your complete program

 Assignment 2-Linked List Instruction: a. Answer all question. b. For each

Assignment 2-Linked List Instruction: a. Answer all question. b. For each program, show at least 5 different tests / output. C. Submit your complete program through PutraBlast. Deadline: 26th December 2021 1. Write a complete program to implement queue of students by using linked list (matric number as the element in the queue). Your program must have add new item into the queue, remove item from the queue, get the first item in the queue, get the last item in the queue and number of items in the queue. To test your program, you must create a menu of several options that the user can choose to perform the queue. Example Menu: 1. Add New Student 2. Remove Student 3. First Student 4. Last Student 5. Display All Students Your Option: 2. Write a complete program to implement stack by using linked list. This stack is used to convert from infix expression into postfix expression

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!