mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-07 06:44:57 +08:00
Add the initial EN translation for C++ code (#1346)
This commit is contained in:
@ -10,7 +10,7 @@ class ListNode:
|
||||
|
||||
def __init__(self, val: int):
|
||||
self.val: int = val # Node value
|
||||
self.next: ListNode | None = None # Reference to the next node
|
||||
self.next: ListNode | None = None # Reference to successor node
|
||||
|
||||
|
||||
def list_to_linked_list(arr: list[int]) -> ListNode | None:
|
||||
|
Reference in New Issue
Block a user