Please tell the problem with the code?

in the q stmt
Note that K can be greater than N.
please tell what will happen if k is greater than n? we shouldn’t simply return without any changes?
no
u need to modify k within the length of linked list

in the q stmt
Note that K can be greater than N.
please tell what will happen if k is greater than n? we shouldn’t simply return without any changes?
no
u need to modify k within the length of linked list