#include <stdio.h>
typedef struct ListNode
{
struct ListNode* next;
int data;
}ListNode;
ListNode* findKNode(ListNode* head,int k)
{
if(NULL==head||k<=0)
return NULL;
ListNode*p ,*q;
p = head;
q = head;
for(int i=1;(i<=k)&&(p);i++)
p = p->next;
if(!p)
return NULL;
while(p->next)
{
p = p->next;
q = q->next;
}
return q;
}