in video anser for input 5 is coming 4 but anser should be 3 … 5:46 it’s the duration of video plz check that code
Minimum steps to one
hello @shampblocks
there is a small mistake in the video.
inside for loop .it shoulf be i in place of n.
1 Like
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.