BPDB can provide service one customer at a time. BPDB want to provide service multiple customers at same time. If n number of customer at a time…

BPDB can provide service one customer at a time. BPDB want to provide service multiple customers at same time. If n number of customer at a time requesting for service with the time slot [start, end]. If two customers requesting for the same time slot then only one customer can receive the service. Write an algorithm such that BPDB can provide service maximum number of customer at a time.

From the BPDB Assistant Engineer (CSE) February 2023 – Written (BUET) exam, question 35 of 37.

More from this paper