0

Data structure

Printer queue with priority User enter username, password and priority then it will print the queue from highest to lowest priority with the username and password

6th Jan 2021, 10:53 PM
Jamal Chokr
Jamal Chokr - avatar
1 Answer
+ 2
Pq=[] For all inputs Append [prio,un, pw] to pq Sort pq descending Iterate pq for output
11th Jan 2021, 7:35 AM
Oma Falk
Oma Falk - avatar