Linked List
This page contains question about the linked list
def array2List(arr):
head = dummy = ListNode(None)
for e in arr:
head.next = ListNode(e)
head = head.next
return dummy.next
- 2-addTwoNumber
- 445-addTwoNumberII
- 24-Swap Nodes in Pair
- 141-Linked List Cycle
- 142-Linked List CycleII
- 206-Reverse Linked List
- 92-Reversed Linked ListII