Kth node from last problem

I’m getting correct output but it shows wrong.
code link- https://ide.codingblocks.com/s/293356

@Devansh_29
while(fast->data!=k){
This condition wrong. K is not the DATA of the list, you can’t compare it as such