Will the time complexity of code will be O(n log n) where n is the number of activities?
Busy Man question in Greedy Algorithm
yeah its nlogn because of sorting
Will the time complexity of code will be O(n log n) where n is the number of activities?
yeah its nlogn because of sorting