QuuenCombination

Mam,u are using i=lastbox+1 and pass -1 in function call but we get correct result if we pass i=lasbox and 0 in funcion call. Is second approach is right or not.

hi @ankit kamat
second approach will work fine as you need to use the present index and the indices after it only.

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.