Pl provide solution

pl provide solution…

hello @Amishi

since we want to do maximum no of activities , we pick that activity first which has smallest ending time because then after we will have more time left to do another activities.
repeat this process and keep the count all finished activities and print in end.

here is the code ->
https://ide.codingblocks.com/s/447765

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.