Question: 5. Write a class for a Last in, First out data structure using a linked lists. In C++ a. The structure should contain the following

5. Write a class for a "Last in, First out" data structure using a linked lists. In C++ a. The structure should contain the following names: {"Ahmad", "Sarah", "Afifi", "Jamal", "Kamal","Amina", "Nur", "Iqmal") b. The class should include functions that performs the following i. Insertion of a new name where a new name is added to the data structure. ii. Removal of a name where a name is removed from the data structure. ii. Displays all the names present in the data structure. In C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
