Test case o fail

run-time error is happening but i don’t know why,
i have used both method of normal recursion and 2d array for memoization

@S18CRX0174
recursive code should have worked fine.
Please refer to this code once for recursive solution.