magine an airport check-in queue of size N, where a new passenger is Enqueued to
check-in queue from rear end and Dequeued through the front end. However, when the
queue has number of passengers greater than or equal to 80% of N, then Dequeue
operation involves removing passengers from front as well as rear end. In a special case,
when a passenger is a VIP, then he/she Enqueued at front end instead of rear. Implement
the above data structure operations.
Answers
Answered by
2
Easily first go to windows and type curl+g then you will get that file
Similar questions