I don’t Know why my code is giving runtime error. I think the size of the dp array is the problem but can’t actually figure out because it running successfully on other IDE.
I don’t Know why my code is giving runtime error. I think the size of the dp array is the problem but can’t actually figure out because it running successfully on other IDE.