May i know what is wrong in this logic
Wrong testCases Answer
hi @riya17 you must sort the array according to the ending times of activities and then choose as many activities as possible.
May i know what is wrong in this logic
hi @riya17 you must sort the array according to the ending times of activities and then choose as many activities as possible.