Busy Man question in Greedy Algorithm

Will the time complexity of code will be O(n log n) where n is the number of activities?

hello @Sakshi2004

it will depend on ur implementation.
pls share ur code with me.

yeah its nlogn because of sorting