If k greater than n, what should i do?

if k greater than n, then i need to reverse whole LinkedList or throw an error??

hey @Vipin_coder
if k greater than n,
k = k % n;