leetcode-剑指offer22-链表中倒数第k个节点

2020-8-3

用快慢指针法做题。先让快指针跑k个节点,再同时递增快慢指针。

https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof/

你可能感兴趣的:(LEETCODE)