parent
3f369e1e70
commit
337a795ad0
@ -0,0 +1 @@
|
||||
.envrc
|
@ -0,0 +1,9 @@
|
||||
import typing
|
||||
|
||||
|
||||
class ListNode:
|
||||
"""ListNode is the leetcode "standard library" type used in linked lists"""
|
||||
|
||||
def __init__(self, val=0, next: typing.Optional["ListNode"] = None): # no qa
|
||||
self.val = val
|
||||
self.next = next
|
Loading…
Reference in new issue