Activity selection problem

pls correct my error

hi @techarun121_523aa3514e575ce9 ur logic doesnt seems to be correct
try doing on basis of end time
refer https://www.geeksforgeeks.org/activity-selection-problem-greedy-algo-1/