I am solving this question…
646. Maximum Length of Pair Chain
Although i have come up with the logic… Which is LIs…
I have implemented that even…But it is showing some error.
I think , error is in comparator function, but i am not able to find, it could you see this is please.
This is my code…
This is the screenshoot of error…
Thanks