题解 | #输出单向链表中倒数第k个结点#
输出单向链表中倒数第k个结点
http://www.nowcoder.com/practice/54404a78aec1435a81150f15f899417d
钻个空子,大佬勿喷 while True: try : n = int(input().strip()) m = input().strip().split() k = int(input().strip()) m.append('0') print(''.join(i for i in m[::-1][k])) except : break