修行中人
修行中人
全部文章
题解
未归档(1)
归档
标签
去牛客网
登录
/
注册
修行中人
小菜鸟在线编程;欢迎大家宠爱
全部文章
/ 题解
(共2篇)
反转链表,python
class Solution: # 返回ListNode def ReverseList(self, pHead): # write code here if not pHead: return None else: ...
链表,python
2020-04-02
0
666
查找链表中倒数第k个节点
基于python,感觉代码过于冗余,条件判断和while太多,求大佬帮忙优化一下,感谢! class Solution: def FindKthToTail(self, head, k): # write code here # 查看是否为空链表; 查看k值,...
链表,python
2020-04-02
1
735