Given N activities with their start and finish times. Select the maximum number of activities that can be performed by a single person, assuming that a person can only work on a single activity at a time.
Examples
Input:start = [10, 12, 20], finish = [20, 25, 30]
Output:2
A person can perform at most two activities: [10, 20] and [20, 30].