Activity selection

What is the maximum time that a person can spend in doing activities, and what is the unit of time of the inputs?

@AbhilashaBansal
hello abhilasha,
activity time will be => ending time - starting time.
assume any unit of time (becuase it does not matter for this problem)

Thanks for the help!