Implement an algorithm to find the kth to last element of a singly linked list.
思路:双指针
参考 http://www.cnblogs.com/jdflyfly/p/3810697.html
Cracking the Coding Interview Q2.2,布布扣,bubuko.com
时间: 2024-10-03 22:54:48
Implement an algorithm to find the kth to last element of a singly linked list.
思路:双指针
参考 http://www.cnblogs.com/jdflyfly/p/3810697.html
Cracking the Coding Interview Q2.2,布布扣,bubuko.com