Bottom up doubt

in bottom up approach to minimum steps to one problem sir is checking for the condition when n%3 and n%2 ==0 but shouldn’t it be when i%3 and i%2 ==0??

@Shobhit_kumar
hello Shobhit,
yeah it should be i in place of n (in bottom up approach)

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.