阅读背景:

获取单链表的倒数第五个元素

来源:互联网 
请教一道算法题,
Write a function that will return the 5th element from the end ( not from the head of the list) in a singly linked list of integers, in one pass, and then provide a set of test cases against that function that would make you comfortable with shipping this code to customers.  Write a function that will return th



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: