Doubt in the question

What do we need to do if given k is greater than the size of LL?

Hey @neetigya
take k%=n;

Thanks for prompt reply

1 Like