Ouput is correct every test case fails
Check now ->
no need of J variable itβs just consuming your memory. Recursive calls were not right have edited them
Check now ->
no need of J variable itβs just consuming your memory. Recursive calls were not right have edited them