public ListNode FindKthToTail(ListNode head, int k) {
if (head == null) {
return null;
}
ListNode first = head;
ListNode second = head;
int count = 0;
while (count < k) {
if (first == null) {
return null;
}
count++;
first = first.next;
}
while (first != null) {
first = first.next;
second = second.next;
}
return second;
}