niuniuyeah
niuniuyeah
全部文章
分类
归档
标签
去牛客网
登录
/
注册
niuniuyeah的博客
全部文章
(共6篇)
题解 | #翻转链表#
import sys class ListNode: def __init__(self,val=0,next=None): self.val=val self.next=next def parse_input(slist): if not ...
2024-06-11
0
143
题解 | #链表合并#
import sys class ListNode: def __init__(self,value=0,next=None): self.value=value self.next=next def parse_input(s): if no...
2024-06-11
0
153
题解 | #链表合并#
import sys class ListNode: def __init__(self,value=0,next=None): self.value=value self.next=next def parse_input(s): if no...
2024-06-11
0
159
题解 | #每K个一组反转链表#
import sys class ListNode: def __init__(self,value=0,next=None): self.value=value self.next=next def parse_input(num): if n...
2024-06-11
0
165
题解 | #链表合并#
import sys class ListNode: def __init__(self, value=0, next=None): self.value = value self.next = next def parse_input(slist):...
2024-06-11
0
136
题解 | #链表合并#
import sys class ListNode: def __init__(self, value=0, next=None): self.value = value self.next = next def parse_input(slist):...
2024-06-11
0
130