Below is the code for the Kth node from the last.
hey @harshulgarg21 line 92 condition should be while(fast->next!=NULL)