Question 9
Consider the following activities represented as (Start Time, Finish Time):
Two activities are considered compatible if the start time of one activity is greater than or equal to the finish time of the previously selected activity. A greedy algorithm is used to select the maximum number of non-overlapping activities. How many activities will be selected?
3
4
5
6