Please Rectify my code

Please rectify my code for the codeforces problem 1221D
discussed in this Lecture.

Problem Link - https://codeforces.com/problemset/problem/1221/D

My Solution -

Hi @vibs1998
u can refer to the apaar bhaiyas code for the time being


in this recursive and iterative soln is dere.
i will check ur code and get back to u regarding d error