Cracking the Coding Interview Q2.2

Implement an algorithm to find the kth to last element of a singly linked list.

 

思路:双指针

参考 http://www.cnblogs.com/jdflyfly/p/3810697.html

posted @ 2014-07-07 23:34  jdflyfly  阅读(124)  评论(0)    收藏  举报