题目描述:https://pintia.cn/problem-sets/15/problems/727
代码实现:
ElementType FindKth(List L, int K) {
if (L == NULL || K <= 0)
return ERROR;
int count = 1;
while (L != NULL && count < K) {
count++;
L = L->Next;
}
if (L == NULL)
return ERROR;
else
return L->Data;
}



