Question: Write a program to create a Queue of employees where each Employee node will contain the following attributes: EmployeeId EmployeeName Create following three
Write a program to create a Queue of employees where each Employee node will contain the following attributes:
EmployeeId
EmployeeName
Create following three methods for implementation of the list created:
a. Enqueue() to insert an employee into the queue.
b. Dequeue() to delete an employee from the queue.
c. Display() to display the details of all an employees in the list.
d. Size() to display the number of employee s in the queue.
Step by Step Solution
3.42 Rating (149 Votes )
There are 3 Steps involved in it
Here is a Python program that implements a queue of employees with the specified methods class Employee def initself employeeid employeename selfemplo... View full answer
Get step-by-step solutions from verified subject matter experts
