Plss explain this part again

i didnt understood this method of calculating time comp. of ques 3 at timestamp 02:59

hey @kk06112001 after every loop value of i is incremented by i+k,so in general loop will run n times but in this case it will run N/K times.

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.