• leet
  • Introduction
  • String
  • Graph
  • Linked List
  • Binary Tree
  • Sorted Array
  • Dynamic Programming
  • Data Structure
  • Backtracking
  • Bit Operation
  • Problems
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 11
    • 14
    • 15
    • 16
    • 19
    • 20
    • 21
    • 23
    • 26
    • 27
    • 28
    • 33
    • 34
    • 35
    • 36
    • 37
    • 39
    • 40
    • 42
    • 45
    • 46
    • 47
    • 48
    • 50
    • 53
    • 54
    • 55
    • 62
    • 63
    • 64
    • 70
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 82
    • 83
    • 84
    • 86
    • 88
    • 90
    • 92
    • 94
    • 96
    • 97
    • 98
    • 100
    • 101
    • 102
    • 103
    • 104
    • 107
    • 108
    • 109
    • 110
    • 111
    • 115
    • 116
    • 120
    • 121
    • 122
    • 124
    • 125
    • 126
    • 127
    • 128
    • 131
    • 132
    • 133
    • 136
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 148
    • 150
    • 153
    • 154
    • 155
    • 159
    • 160
    • 161
    • 162
    • 167
    • 168
    • 169
    • 170
    • 171
    • 173
    • 186
    • 189
    • 198
    • 200
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 215
    • 218
    • 226
    • 229
    • 230
    • 231
    • 232
    • 234
    • 235
    • 236
    • 238
    • 239
    • 240
    • 252
    • 253
    • 257
    • 259
    • 261
    • 268
    • 269
    • 270
    • 271
    • 273
    • 276
    • 278
    • 279
    • 281
    • 283
    • 289
    • 290
    • 291
    • 293
    • 294
    • 295
    • 297
    • 298
    • 300
    • 315
    • 316
    • 320
    • 322
    • 324
    • 325
    • 329
    • 340
    • 345
    • 348
    • 351
    • 373
    • 375
    • 378
    • 380
    • 381
    • 388
    • 389
    • 391
    • 393
    • 394
    • 399
    • 402
    • 403
    • 404
    • 407
    • 408
    • 411
    • 417
    • 419
    • 422
    • 425
    • 445
    • 460
    • 471
    • 480
    • 482
    • 490
    • 494
    • 501
    • 505
    • Valid Tree
    • 24 Game
  • GitBook Tips
Powered by GitBook

Linked List

Linked List

class ListNode:
    def __init__(self, val):
        self.val = val
        self.next = None

Problems

  • 2. Add Two Numbers
  • 19. Remove Nth Node From End of List
  • 21. Merge Two Sorted Lists
  • 23. Merge k Sorted Lists
  • 82. Remove Duplicates from Sorted List II
  • 83. Remove Duplicates from Sorted List
  • 86. Partition List
  • 92. Reverse Linked List II
  • 108. Convert Sorted Array to Binary Search Tree
  • 109. Convert Sorted List to Binary Search Tree
  • 138. Copy List with Random Pointer
  • 141. Linked List Cycle
  • 142. Linked List Cycle II
  • 143. Reorder List
  • 148. Sort List
  • 160. Intersection of Two Linked Lists
  • 206. Reverse Linked List
  • 234. Palindrome Linked List
  • 445. Add Two Numbers II

results matching ""

    No results matching ""