didn’t understand the question , whats the problem???
(OUEUE) hoodies at coding blocks
hi @shristimalviya77_93a05e326061f1a7,
Hint to Approach the problem:
step:01: make four queues for four courses and make one another queue that store the ordering of these four queues according to occurence.
step:02: Now take the inputs and make the cases based on course and rollno.
Now first try to solve it on your own…
I provide you the Reference code also, you can dry run it…
Reference Code: