Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Systems For Physicians And Medical Professionals How To Use And Access Databases

Authors: Harley Bjelland

1st Edition

1878487442, 9781878487445

More Books

Students explore these related Databases questions