题目 |
题解 |
难度 |
1
|
LeetCode 1 Two Sum (Python)
|
Easy |
5
|
LeetCode 5 Longest Palindromic Substring (Python)
|
Medium |
8
|
LeetCode 8 String to Integer (atoi) (Python)
|
Medium |
11
|
LeetCode 11 Container With Most Water (Python)
|
Medium |
12
|
LeetCode 12 Integer to Roman (Python)
|
Medium |
13
|
LeetCode 13 Roman to Integer (Python)
|
Medium |
14
|
LeetCode 14 Longest Common Prefix (Python)
|
Easy |
15
|
LeetCode 15 3Sum (Python)
|
Medium |
16
|
LeetCode 16 3Sum Closest (Python)
|
Medium |
17
|
LeetCode 17 Letter Combinations of a Phone Number (Python)
|
Medium |
19
|
LeetCode 19 Remove Nth Node From End of List (Python)
|
Medium |
20
|
LeetCode 20 Valid Parentheses (Python)
|
Easy |
21
|
LeetCode 21 Merge Two Sorted Lists (Python)
|
Easy |
23
|
LeetCode 23 Merge k Sorted Lists (Python)
|
Hard |
24
|
LeetCode 24 Swap Nodes in Pairs (Python)
|
Medium |
31
|
LeetCode 31 Next Permutation (Python)
|
Medium |
32
|
LeetCode 32 Longest Valid Parentheses (Python)
|
Hard |
33
|
LeetCode 33 Search in Rotated Sorted Array (Python)
|
Medium |
35
|
LeetCode 35 Search Insert Position (Introduce python bisect) (Python)
|
Easy |
36
|
LeetCode 36 Valid Sudoku (Python)
|
Medium |
39
|
LeetCode 39 Combination Sum (Python)
|
Medium |
41
|
LeetCode 41 First Missing Positive (Python)
|
Hard |
45
|
LeetCode 45 Jump Game II (Python)
|
Medium |
48
|
LeetCode 48 Rotate Image (Python)
|
Medium |
49
|
LeetCode 49 Group Anagrams (Python)
|
Medium |
50
|
LeetCode 50 Pow(x, n) (Python)
|
Medium |
53
|
LeetCode 53 Maximum Subarray (Python)
|
Easy |
55
|
LeetCode 55 Jump Game (Python)
|
Medium |
56
|
LeetCode 56 Merge Intervals (Python)
|
Medium |
57
|
LeetCode 57 Insert Interval (Python)
|
Hard |
58
|
LeetCode 58 Length of Last Word (Python)
|
Easy |
59
|
LeetCode 59 Spiral Matrix II (Python)
|
Medium |
60
|
LeetCode 60 Permutation Sequence (Python)
|
Medium |
61
|
LeetCode 61 Rotate List (Python)
|
Medium |
62
|
LeetCode 62 Unique Paths (Python)
|
Medium |
63
|
LeetCode 63 Unique Paths II (Python)
|
Medium |
64
|
LeetCode 64 Minimum Path Sum (Python)
|
Medium |
65
|
LeetCode 65 Valid Number (Python)
|
Hard |
66
|
LeetCode 66 Plus One (Python)
|
Easy |
67
|
LeetCode 67 Add Binary (Python)
|
Easy |
68
|
LeetCode 68 Text Justification (Python)
|
Hard |
70
|
LeetCode 70 Climbing Stairs (Python)
|
Easy |
71
|
LeetCode 71 Simplify Path (Python)
|
Medium |
72
|
LeetCode 72 Edit Distance (Python)
|
Hard |
73
|
LeetCode 73 Set Matrix Zeroes (Python)
|
Medium |
74
|
LeetCode 74 Search a 2D Matrix (Python)
|
75
|
LeetCode 75 Sort Colors (Python)
|
Medium |
76
|
LeetCode 76 Minimum Window Substring (Python)
|
Hard |
78
|
LeetCode 78 Subsets (Python)
|
Medium |
79
|
LeetCode 79 Word Search (Python)
|
Medium |
80
|
LeetCode 80 Remove Duplicates from Sorted Array II (Python)
|
Medium |
84
|
LeetCode 84 Largest Rectangle in Histogram (Python)
|
Hard |
87
|
LeetCode 87 Scramble String (Python)
|
Hard |
90
|
LeetCode 90 Subsets II (Python)
|
Medium |
91
|
LeetCode 91 Decode Ways (Python)
|
Medium |
94
|
LeetCode 94 Binary Tree Inorder Traversal (Python)
|
Easy |
95
|
LeetCode 95 Unique Binary Search Trees II (Python)
|
Easy |
96
|
LeetCode 96 Unique Binary Search Trees (Python)
|
Medium |
98
|
LeetCode 98 Validate Binary Search Tree (Python)
|
Medium |
100
|
LeetCode 100 Same Tree (Python)
|
Easy |
103
|
LeetCode 103 Binary Tree Zigzag Level Order Traversal (Python)
|
Medium |
104
|
LeetCode 104 Maximum Depth of Binary Tree (Python)
|
Easy |
106
|
LeetCode 106 Construct Binary Tree from Inorder and Postorder Traversal (Python)
|
Medium |
107
|
LeetCode 107 Binary Tree Level Order Traversal II (Python)
|
Easy |
110
|
LeetCode 110 Balanced Binary Tree (Python)
|
Medium |
111
|
LeetCode 111 Minimum Depth of Binary Tree (Python)
|
Easy |
113
|
LeetCode 113 Path Sum II (Python)
|
Medium |
116
|
LeetCode 116 Populating Next Right Pointers in Each Node (Python)
|
Medium |
117
|
LeetCode 117 Populating Next Right Pointers in Each Node II (Python)
|
Medium |
119
|
LeetCode 119 Pascal's Triangle II (Python)
|
Easy |
120
|
LeetCode 120 Triangle (Python)
|
Medium |
121
|
LeetCode 121 Best Time to Buy and Sell Stock (Python)
|
Easy |
123
|
LeetCode 123 Best Time to Buy and Sell Stock III (Python)
|
Hard |
124
|
LeetCode 124 Binary Tree Maximum Path Sum (Python)
|
Hard |
125
|
LeetCode 125 Valid Palindrome (Python)
|
Easy |
126
|
LeetCode 126 Word Ladder II (Python)
|
Hard |
128
|
LeetCode 128 Longest Consecutive Sequence (Python)
|
Medium |
129
|
LeetCode 129 Sum Root to Leaf Numbers (Python)
|
Medium |
130
|
LeetCode 130 Surrounded Regions (Python)
|
Medium |
132
|
LeetCode 132 Palindrome Partitioning II (Python)
|
Hard |
133
|
LeetCode 133 Clone Graph (Python)
|
Medium |
134
|
LeetCode 134 Gas Station (Python)
|
Medium |
136
|
LeetCode 136 Single Number (Python)
|
Easy |
137
|
LeetCode 137 Single Number II (Python)
|
Medium |
138
|
LeetCode 138 Copy List with Random Pointer (Python)
|
Medium |
139
|
LeetCode 139 Word Break (Python)
|
Medium |
140
|
LeetCode 140 Word Break II (Python)
|
Hard |
141
|
LeetCode 141 Linked List Cycle (Python)
|
Easy |
142
|
LeetCode 142 Linked List Cycle II (Python)
|
Medium |
143
|
LeetCode 143 Reorder List (Python)
|
Medium |
144
|
LeetCode 144 Binary Tree Preorder Traversal (Python)
|
Easy |
145
|
LeetCode 145 Binary Tree Postorder Traversal (Python)
|
Easy |
147
|
LeetCode 147 Insertion Sort List (Python)
|
Medium |
148
|
LeetCode 148 Sort List (Python)
|
Medium |
151
|
LeetCode 151 Reverse Words in a String (Python)
|
Medium |
152
|
LeetCode 152 Maximum Product Subarray (Python)
|
Medium |
153
|
LeetCode 153 Find Minimum in Rotated Sorted Array (Python)
|
Medium |
154
|
LeetCode 154 Find Minimum in Rotated Sorted Array II (Python)
|
Hard |
155
|
LeetCode 155 Min Stack (Python)
|
Easy |
160
|
LeetCode 160 Intersection of Two Linked Lists (Python)
|
Easy |
162
|
LeetCode 162 Find Peak Element (Python)
|
Medium |
163
|
LeetCode 163 Missing Ranges (Python)
|
Easy |
165
|
LeetCode 165 Compare Version Numbers (Python)
|
Medium |
169
|
LeetCode 169 Majority Element (Python)
|
Easy |
171
|
LeetCode 171 Excel Sheet Column Number (Python)
|
Easy |
173
|
LeetCode 173 Binary Search Tree Iterator (Python)
|
Medium |
174
|
LeetCode 174 Dungeon Game (Python)
|
Hard |
179
|
LeetCode 179 Largest Number (Python)
|
Medium |
187
|
LeetCode 187 Repeated DNA Sequences (Python)
|
Medium |
188
|
LeetCode LeetCode 每日一题 Daily Challenge 188 Best Time to Buy and Sell Stock IV (Python)
|
Hard |
189
|
LeetCode 189 Rotate Array (Python)
|
Medium |
190
|
LeetCode 190 Reverse Bits (Python)
|
Easy |
191
|
LeetCode 191 Number of 1 Bits (Python)
|
Easy |
198
|
LeetCode 198 House Robber (Python)
|
Easy |
199
|
LeetCode 199 Binary Tree Right Side View (Python)
|
Medium |
200
|
LeetCode 200 Number of Islands (Python)
|
Medium |
202
|
LeetCode 202 Happy Number (Python)
|
Easy |
203
|
LeetCode 203 Remove Linked List Elements (Python)
|
Easy |
205
|
LeetCode 205 Isomorphic Strings (Python)
|
Easy |
206
|
LeetCode 206 Reverse Linked List (Python)
|
Easy |
207
|
LeetCode 207 Course Schedule (Python)
|
Medium |
208
|
LeetCode 208 Implement Trie (Prefix Tree) (Python)
|
Medium |
209
|
LeetCode 309 Best Time to Buy and Sell Stock with Cooldown (Python)
|
Medium |
210
|
LeetCode 210 Course Schedule II (Python)
|
Medium |
211
|
LeetCode 211 Add and Search Word - Data structure design (Python)
|
Medium |
212
|
LeetCode 212 Word Search II (Python)
|
Hard |
213
|
LeetCode 213 House Robber II (Python)
|
Medium |
215
|
LeetCode 215 Kth Largest Element in an Array (Python)
|
Medium |
216
|
LeetCode 216 Combination Sum III (Python)
|
Medium |
220
|
LeetCode 220 Contains Duplicate III (Python)
|
Medium |
221
|
LeetCode 221 Maximal Square (Python)
|
Medium |
222
|
LeetCode 222 Count Complete Tree Nodes (Python)
|
Medium |
224
|
LeetCode 224 Basic Calculator (Python)
|
Hard |
226
|
LeetCode 226 Invert Binary Tree (Python)
|
Easy |
227
|
LeetCode 227 Basic Calculator II (Python)
|
Medium |
228
|
LeetCode 228 Summary Ranges (Python)
|
Easy |
229
|
LeetCode 229 Majority Element II (Python)
|
Medium |
230
|
LeetCode 230 Kth Smallest Element in a BST (Python)
|
Medium |
231
|
LeetCode 231 Power of Two (Python)
|
Easy |
236
|
LeetCode 236 Lowest Common Ancestor of a Binary Tree (Python)
|
Medium |
237
|
LeetCode 237 Delete Node in a Linked List (Python)
|
Easy |
238
|
LeetCode 238 Product of Array Except Self (Python)
|
Medium |
239
|
LeetCode 239 Sliding Window Maximum (Python)
|
Hard |
242
|
LeetCode 242 Valid Anagram (Python)
|
Easy |
249
|
LeetCode 249 Group Shifted Strings (Python)
|
Medium |
258
|
LeetCode 258 Add Digits (Python)
|
Easy |
260
|
LeetCode 260 Single Number III (Python)
|
Medium |
264
|
LeetCode 264 Ugly Number II (Python)
|
Medium |
268
|
LeetCode 268 Missing Number (Python)
|
Easy |
270
|
LeetCode 270 Closest Binary Search Tree Value (Python)
|
Easy |
274
|
LeetCode 274 H-Index (Python)
|
Medium |
275
|
LeetCode 275 H-Index II (Python)
|
Medium |
278
|
LeetCode 278 First Bad Version (Python)
|
Easy |
279
|
LeetCode 279 Perfect Squares (Python)
|
Medium |
282
|
LeetCode 282 Expression Add Operators (Python)
|
Hard |
283
|
LeetCode 283 Move Zeroes (Python)
|
Easy |
284
|
LeetCode 284 Peeking Iterator (Python)
|
Medium |
287
|
LeetCode 287 Find the Duplicate Number (Python)
|
Medium |
289
|
LeetCode 289 Game of Life (Python)
|
Medium |
290
|
LeetCode 290 Word Pattern (Python)
|
Easy |
296
|
LeetCode 296 Best Meeting Point (Python)
|
Hard |
299
|
LeetCode 299 Bulls and Cows (Python)
|
Easy |
303
|
LeetCode 303 Range Sum Query - Immutable (Python)
|
Easy |
304
|
LeetCode 304 Range Sum Query 2D - Immutable (Python)
|
Medium |
310
|
LeetCode 310 Minimum Height Trees (Python)
|
Medium |
312
|
LeetCode 312 Burst Balloons (Python)
|
Hard |
314
|
LeetCode 314 Binary Tree Vertical Order Traversal (Python)
|
Medium |
316
|
LeetCode 316 Remove Duplicate Letters (Python)
|
Medium |
319
|
LeetCode 319 Bulb Switcher (Python)
|
Medium |
322
|
LeetCode 322 Coin Change (Python)
|
Medium |
326
|
LeetCode 326 Power of Three (Python)
|
Easy |
328
|
LeetCode 328 Odd Even Linked List (Python)
|
Medium |
329
|
LeetCode 329 Longest Increasing Path in a Matrix (Python)
|
Medium |
332
|
LeetCode 332 Reconstruct Itinerary (Python)
|
Medium |
333
|
LeetCode 333 Largest BST Subtree (Python)
|
Medium |
334
|
LeetCode 334 Increasing Triplet Subsequence (Python)
|
Medium |
337
|
LeetCode 337 House Robber III (Python)
|
Medium |
338
|
LeetCode 338 Counting Bits (Python)
|
Medium |
339
|
LeetCode 339 Nested List Weight Sum (Python)
|
Medium |
342
|
LeetCode 342 Power of Four (Python)
|
Easy |
344
|
LeetCode 344 Reverse String (Python)
|
Easy |
346
|
LeetCode 346 Moving Average from Data Stream (Python)
|
Easy |
347
|
LeetCode 347 Top K Frequent Elements (Python)
|
Medium |
348
|
LeetCode 348 Design Tic-Tac-Toe (Python)
|
Medium |
350
|
LeetCode 350 Intersection of Two Arrays II (Python)
|
Easy |
359
|
LeetCode 359 Logger Rate Limiter (Python)
|
Easy |
367
|
LeetCode 367 Valid Perfect Square (Python)
|
Easy |
368
|
LeetCode 368 Largest Divisible Subset (Python)
|
Medium |
376
|
LeetCode 376 Wiggle Subsequence (Python)
|
Medium |
377
|
LeetCode 377 Combination Sum IV (Python)
|
Medium |
380
|
LeetCode 380 Insert Delete GetRandom O(1) (Python)
|
Medium |
382
|
LeetCode 382 Linked List Random Node (Python)
|
Medium |
383
|
LeetCode 383 Ransom Note (Python)
|
Easy |
387
|
LeetCode 387 First Unique Character in a String (Python)
|
Easy |
389
|
LeetCode 389 Find the Difference (Python)
|
Easy |
392
|
LeetCode 392 Is Subsequence (With Follow up) (Python)
|
Easy |
394
|
LeetCode 394 Decode String (Python)
|
Medium |
395
|
LeetCode 395 Longest Substring with At Least K Repeating Characters (Python)
|
Medium |
398
|
LeetCode 398 Random Pick Index (Python)
|
Medium |
399
|
LeetCode 399 Evaluate Division (Python)
|
Medium |
402
|
LeetCode 402 Remove K Digits (Python)
|
Medium |
404
|
LeetCode 404 Sum of Left Leaves (Python)
|
Easy |
406
|
LeetCode 406 Queue Reconstruction by Height (Python)
|
Medium |
408
|
LeetCode 408 Valid Word Abbreviation (Python)
|
Easy |
409
|
LeetCode 409 Longest Palindrome (Python)
|
Easy |
412
|
LeetCode 412 Fizz Buzz (Python)
|
Easy |
413
|
LeetCode 413 Arithmetic Slices (Python)
|
Medium |
415
|
LeetCode 415 Add Strings (Python)
|
Easy |
416
|
LeetCode 416 Partition Equal Subset Sum (Python)
|
Medium |
417
|
LeetCode 417 Pacific Atlantic Water Flow (Python)
|
Medium |
421
|
LeetCode 421 Maximum XOR of Two Numbers in an Array (Python)
|
Medium |
423
|
LeetCode 423 Reconstruct Original Digits from English (Python)
|
Medium |
426
|
LeetCode 426 Convert Binary Search Tree to Sorted Doubly Linked List (Python)
|
Medium |
429
|
LeetCode 429 N-ary Tree Level Order Traversal (Python)
|
Medium |
430
|
LeetCode 430 Flatten a Multilevel Doubly Linked List (Python)
|
Medium |
435
|
LeetCode 435 Non-overlapping Intervals (Python)
|
Medium |
436
|
LeetCode 436 Find Right Interval (Python)
|
Medium |
437
|
LeetCode 437 Path Sum III (Python)
|
Medium |
438
|
LeetCode 438 Find All Anagrams in a String (Python)
|
Medium |
441
|
LeetCode 441 Arranging Coins (Python)
|
Easy |
442
|
LeetCode 442 Find All Duplicates in an Array (Python)
|
Medium |
445
|
LeetCode 445 Add Two Numbers II (Python)
|
Medium |
449
|
LeetCode 449 Serialize and Deserialize BST (Python)
|
Medium |
450
|
LeetCode 450 Delete Node in a BST (Python)
|
Medium |
451
|
LeetCode 451 Sort Characters By Frequency (Python)
|
Medium |
452
|
LeetCode 452 Minimum Number of Arrows to Burst Balloons (Python)
|
Medium |
454
|
LeetCode 454 4Sum II (Python)
|
Medium |
456
|
LeetCode 456 132 Pattern (Python)
|
Medium |
458
|
LeetCode 458 Poor Pigs (Python)
|
Hard |
459
|
LeetCode 459 Repeated Substring Pattern (Python)
|
Easy |
461
|
LeetCode 461 Hamming Distance (Python)
|
Easy |
463
|
LeetCode 463 Island Perimeter (Python)
|
Easy |
468
|
LeetCode 468 Validate IP Address (Python)
|
Medium |
470
|
LeetCode 470 Implement Rand10() Using Rand7() (Python)
|
Medium |
476
|
LeetCode 476 Number Complement (Python)
|
Easy |
478
|
LeetCode 478 Generate Random Point in a Circle (Python)
|
Medium |
484
|
LeetCode 484 Find Permutation (Python)
|
Medium |
485
|
LeetCode 485 Max Consecutive Ones (Python)
|
Easy |
489
|
LeetCode 489 Robot Room Cleaner (Python)
|
Hard |
490
|
LeetCode 490 The Maze (Python)
|
Medium |
495
|
LeetCode 495 Teemo Attacking (Python)
|
Medium |
496
|
LeetCode 496 Next Greater Element I (Python)
|
Easy |
497
|
LeetCode 497 Random Point in Non-overlapping Rectangles (Python)
|
Medium |
498
|
LeetCode 498 Diagonal Traverse (Python)
|
Medium |
502
|
LeetCode 502 IPO (Python)
|
Hard |
509
|
LeetCode 509 Fibonacci Number (Python)
|
Easy |
518
|
LeetCode 518 Coin Change 2 (Python)
|
Medium |
520
|
LeetCode 520 Detect Capital (Python)
|
Easy |
525
|
LeetCode 525 Contiguous Array (Python)
|
Medium |
528
|
LeetCode 528 Random Pick with Weight (Python)
|
Medium |
532
|
LeetCode 532 K-diff Pairs in an Array (Python)
|
Medium |
537
|
LeetCode 537 Complex Number Multiplication (Python)
|
Medium |
538
|
LeetCode 538 Convert BST to Greater Tree (Python)
|
Medium |
539
|
LeetCode 539 Minimum Time Difference (Python)
|
Medium |
540
|
LeetCode 540 Single Element in a Sorted Array (Python)
|
Medium |
543
|
LeetCode 543 Diameter of Binary Tree (Python)
|
Easy |
543
|
LeetCode 543 Diameter of Binary Tree (Python)
|
Easy |
547
|
LeetCode 547 Number of Provinces (Python)
|
Medium |
554
|
LeetCode 554 Brick Wall (Python)
|
Medium |
556
|
LeetCode 556 Next Greater Element III (Python)
|
Medium |
560
|
LeetCode 560 Subarray Sum Equals K (Python)
|
Medium |
563
|
LeetCode 563 Binary Tree Tilt (Python)
|
Easy |
567
|
LeetCode 567 Permutation in String (Python)
|
Medium |
575
|
LeetCode 575 Distribute Candies (Python)
|
Easy |
581
|
LeetCode 581 Shortest Unsorted Continuous Subarray (Python)
|
Medium |
589
|
LeetCode 589 N-ary Tree Preorder Traversal (Python)
|
Easy |
593
|
LeetCode 593 Valid Square (Python)
|
Medium |
594
|
LeetCode 594 Longest Harmonious Subsequence (Python)
|
Easy |
605
|
LeetCode 605 Can Place Flowers (Python)
|
Easy |
616
|
LeetCode 616 Add Bold Tag in String (Python)
|
Medium |
621
|
LeetCode 621 Task Scheduler (Python)
|
Medium |
622
|
LeetCode 622 Design Circular Queue (Python)
|
Medium |
623
|
LeetCode 623 Add One Row to Tree (Python)
|
Medium |
633
|
LeetCode 633 Sum of Square Numbers (Python)
|
Medium |
635
|
LeetCode 653 Two Sum IV - Input is a BST (Python)
|
Easy |
636
|
LeetCode 636 Exclusive Time of Functions (Python)
|
Medium |
637
|
LeetCode 637 Average of Levels in Binary Tree (Python)
|
Easy |
645
|
LeetCode 645 Set Mismatch (Python)
|
Easy |
647
|
LeetCode 647 Palindromic Substrings (Python)
|
Medium |
662
|
LeetCode 662 Maximum Width of Binary Tree (Python)
|
Medium |
667
|
LeetCode 667 Beautiful Arrangement II (Python)
|
Medium |
669
|
LeetCode 669 Trim a Binary Search Tree (Python)
|
Medium |
670
|
LeetCode 670 Maximum Swap (Python)
|
Medium |
673
|
LeetCode 673 Number of Longest Increasing Subsequence (Python)
|
Medium |
678
|
LeetCode 678 Valid Parenthesis String (Python)
|
Medium |
680
|
LeetCode 680 Valid Palindrome II (Python)
|
Easy |
696
|
LeetCode 696 Count Binary Substrings (Python)
|
Easy |
700
|
LeetCode 700 Search in a Binary Search Tree (Python)
|
Easy |
701
|
LeetCode 701 Insert into a Binary Search Tree (Python)
|
Medium |
704
|
LeetCode 704 Binary Search (Python)
|
Easy |
705
|
LeetCode 705 Design HashSet (Python)
|
Easy |
708
|
LeetCode 708 Insert into a Sorted Circular Linked List (Python)
|
Medium |
713
|
LeetCode 713 Subarray Product Less Than K (Python)
|
Medium |
714
|
LeetCode 714 Best Time to Buy and Sell Stock with Transaction Fee (Python)
|
Medium |
733
|
LeetCode 733 Flood Fill (Python)
|
Easy |
735
|
LeetCode 735 Asteroid Collision (Python)
|
Medium |
743
|
LeetCode 743 Network Delay Time (Python)
|
Medium |
752
|
LeetCode 752 Open the Lock (Python)
|
Medium |
763
|
LeetCode 763 Partition Labels (Python)
|
Medium |
766
|
LeetCode 766 Toeplitz Matrix (Python)
|
Easy |
767
|
LeetCode 767 Reorganize String (Python)
|
Medium |
771
|
LeetCode 771 Jewels and Stones (Python)
|
Easy |
772
|
LeetCode 772 Basic Calculator III (Python)
|
Hard |
779
|
LeetCode 779 K-th Symbol in Grammar (Python)
|
Medium |
783
|
LeetCode 783 Minimum Distance Between BST Nodes (Python)
|
Easy |
784
|
LeetCode 784 Letter Case Permutation (Python)
|
Medium |
785
|
LeetCode 785 Is Graph Bipartite (Python)
|
Medium |
787
|
LeetCode 787 Cheapest Flights Within K Stops (Python)
|
Medium |
791
|
LeetCode 791 Custom Sort String (Python)
|
Medium |
797
|
LeetCode 797 All Paths From Source to Target (Python)
|
Medium |
799
|
LeetCode 799 Champagne Tower (Python)
|
Medium |
804
|
LeetCode 804 Unique Morse Code Words (Python)
|
Easy |
821
|
LeetCode 821 Shortest Distance to a Character (Python)
|
Easy |
823
|
LeetCode 823 Binary Trees With Factors (Python)
|
Medium |
824
|
LeetCode 824 Goat Latin (Python)
|
Easy |
827
|
LeetCode 827 Making A Large Island (Python)
|
Hard |
832
|
LeetCode 832 Flipping an Image (Python)
|
Easy |
835
|
LeetCode 835 Image Overlap (Python)
|
Medium |
839
|
LeetCode 839 Similar String Groups (Python)
|
Hard |
841
|
LeetCode 841 Keys and Rooms (Python)
|
Medium |
845
|
LeetCode 845 Longest Mountain in Array (Python)
|
Medium |
849
|
LeetCode 849 Maximize Distance to Closest Person (Python)
|
Medium |
858
|
LeetCode 858 Mirror Reflection (Python)
|
Medium |
859
|
LeetCode 859 Buddy Strings (Python)
|
Easy |
863
|
LeetCode 863 All Nodes Distance K in Binary Tree (Python)
|
Medium |
865
|
LeetCode 865 Smallest Subtree with all the Deepest Nodes (Python)
|
Medium |
869
|
LeetCode 869 Reordered Power of 2 (Python)
|
Medium |
876
|
LeetCode 876 Middle of the Linked List (Python)
|
Easy |
877
|
LeetCode 877 Stone Game (Python)
|
Medium |
880
|
LeetCode 880 Decoded String at Index (Python)
|
Medium |
886
|
LeetCode 886 Possible Bipartition (Python)
|
Medium |
901
|
LeetCode 901 Online Stock Span (Python)
|
Medium |
902
|
LeetCode 902 Numbers At Most N Given Digit Set (Python)
|
Hard |
904
|
LeetCode 904 Fruit Into Baskets (Python)
|
Medium |
905
|
LeetCode 905 Sort Array By Parity (Python)
|
Easy |
906
|
LeetCode 906 Super Palindromes (Python)
|
Hard |
910
|
LeetCode 910 Smallest Range II (Python)
|
Medium |
916
|
LeetCode 916 Word Subsetse (Python)
|
Medium |
918
|
LeetCode 918 Maximum Sum Circular Subarray (Python)
|
Medium |
921
|
LeetCode 921 Minimum Add to Make Parentheses Valid (Python)
|
Medium |
923
|
LeetCode 923 3Sum With Multiplicity (Python)
|
Medium |
924
|
LeetCode 924 Minimize Malware Spread (Python)
|
Hard |
926
|
LeetCode 926 Flip String to Monotone Increasing (Python)
|
Hard |
933
|
LeetCode 933 Number of Recent Calls (Python)
|
Easy |
936
|
LeetCode 936 Stamping The Sequence (Python)
|
Hard |
938
|
LeetCode 938 Range Sum of BST (Python)
|
Easy |
941
|
LeetCode 941 Valid Mountain Array (Python)
|
Medium |
946
|
LeetCode 946 Validate Stack Sequences (Python)
|
Medium |
948
|
LeetCode 948 Bag of Tokens (Python)
|
Medium |
949
|
LeetCode 949 Largest Time for Given Digits (Python)
|
Easy |
952
|
LeetCode 952 Largest Component Size by Common Factor (Python)
|
Hard |
953
|
LeetCode 953 Verifying an Alien Dictionary (Python)
|
Easy |
954
|
LeetCode 954 Array of Doubled Pairs (Python)
|
Medium |
957
|
LeetCode 957 Prison Cells After N Days (Python)
|
Medium |
966
|
LeetCode 966 Vowel Spellchecker (Python)
|
Medium |
967
|
LeetCode 967 Numbers With Same Consecutive Differences (Python)
|
Medium |
968
|
LeetCode 968 Binary Tree Cameras (Python)
|
Hard |
969
|
LeetCode 969 Pancake Sorting (Python)
|
Medium |
971
|
LeetCode 971 Flip Binary Tree To Match Preorder Traversal (Python)
|
Medium |
973
|
LeetCode 973 K Closest Points to Origin (Python)
|
Medium |
977
|
LeetCode 977 Squares of a Sorted Array (Python)
|
Easy |
980
|
LeetCode 980 Unique Paths III (Python)
|
Hard |
983
|
LeetCode 983 Minimum Cost For Tickets (Python)
|
Medium |
986
|
LeetCode 986 Interval List Intersections (Python)
|
Medium |
987
|
LeetCode 987 Vertical Order Traversal of a Binary Tree (Python)
|
Hard |
989
|
LeetCode 989 Add to Array-Form of Integer (Python)
|
Easy |
994
|
LeetCode 994 Rotting Oranges (Python)
|
Medium |
997
|
LeetCode 997 Find the Town Judge (Python)
|
Easy |
1001
|
LeetCode 1001 Grid Illumination (Python)
|
Hard |
1002
|
LeetCode 1002 Find Common Characters (Python)
|
Easy |
1003
|
LeetCode 1003 Check If Word Is Valid After Substitutions (Python)
|
Medium |
1004
|
LeetCode 1004 Max Consecutive Ones III (Python)
|
Medium |
1007
|
LeetCode 1007 Minimum Domino Rotations For Equal Row (Python)
|
Medium |
1008
|
LeetCode 1008 Construct Binary Search Tree from Preorder Traversal (Python)
|
Medium |
1009
|
LeetCode 1009 Complement of Base 10 Integer (Python)
|
Easy |
1010
|
LeetCode 1010 Pairs of Songs With Total Durations Divisible by 60 (Python)
|
Medium |
1011
|
LeetCode 1011 Capacity To Ship Packages Within D Days (Python)
|
Medium |
1015
|
LeetCode 1015 Smallest Integer Divisible by K (Python)
|
Medium |
1020
|
LeetCode 1020 Number of Enclaves (Python)
|
Medium |
1022
|
LeetCode 1022 Sum of Root To Leaf Binary Numbers (Python)
|
Easy |
1026
|
LeetCode 1026 Maximum Difference Between Node and Ancestor (Python)
|
Medium |
1029
|
LeetCode 1029 Two City Scheduling (Python)
|
Easy |
1032
|
LeetCode 1032 Stream of Characters (Python)
|
Hard |
1035
|
LeetCode 1035 Uncrossed Lines (Python)
|
Medium |
1041
|
LeetCode 1041 Robot Bounded In Circle (Python)
|
Medium |
1044
|
LeetCode 1044 Longest Duplicate Substring (Python)
|
Hard |
1046
|
LeetCode 1046 Last Stone Weight (Python)
|
Easy |
1048
|
LeetCode 1048 Longest String Chain (Python)
|
Medium |
1060
|
LeetCode 1060 Missing Element in Sorted Array (Python)
|
Medium |
1071
|
LeetCode 1071 Greatest Common Divisor of Strings (Python)
|
Easy |
1089
|
LeetCode 1089 Duplicate Zeros (Python)
|
Easy |
1091
|
LeetCode 1091 Shortest Path in Binary Matrix (Python)
|
Medium |
1094
|
LeetCode 1094 Car Pooling (Python)
|
Medium |
1103
|
LeetCode 1103 Distribute Candies to People (Python)
|
Easy |
1129
|
LeetCode 1129 Shortest Path with Alternating Colors (Python)
|
Medium |
1143
|
LeetCode 1143 Longest Common Subsequence (Python)
|
Medium |
1162
|
LeetCode 1162 As Far from Land as Possible (Python)
|
Medium |
1209
|
LeetCode 1209 Remove All Adjacent Duplicates in String II (Python)
|
Hard |
1216
|
LeetCode 1216 Valid Palindrome III (Python)
|
Hard |
1217
|
LeetCode 1217 Minimum Cost to Move Chips to The Same Position (Python)
|
Easy |
1227
|
LeetCode 1277 Count Square Submatrices with All Ones (Python)
|
Medium |
1232
|
LeetCode 1232 Check If It Is a Straight Line (Python)
|
Easy |
1249
|
LeetCode 1249 Minimum Remove to Make Valid Parentheses (Python)
|
Medium |
1254
|
Leetcode 1254 Number of Closed Islands (Python)
|
Medium |
1283
|
LeetCode 1283 Find the Smallest Divisor Given a Threshold (Python)
|
Medium |
1286
|
LeetCode 1286 Iterator for Combination (Python)
|
Medium |
1288
|
LeetCode 1288 Remove Covered Intervals (Python)
|
Medium |
1290
|
LeetCode 1290 Convert Binary Number in a Linked List to Integer (Python)
|
Easy |
1291
|
LeetCode 1291 Sequential Digits (Python)
|
Medium |
1295
|
LeetCode 1295 Find Numbers with Even Number of Digits (Python)
|
Easy |
1302
|
LeetCode 1302 Deepest Leaves Sum (Python)
|
1305
|
LeetCode 1305 All Elements in Two Binary Search Trees (Python)
|
Medium |
1306
|
LeetCode 1306 Jump Game III (Python)
|
Medium |
1329
|
LeetCode 1329 Sort the Matrix Diagonally (Python)
|
Medium |
1331
|
LeetCode 1331 Rank Transform of an Array (Python)
|
Easy |
1332
|
LeetCode 1332 Remove Palindromic Subsequences (Python)
|
Easy |
1337
|
LeetCode 1337 The K Weakest Rows in a Matrix (Python)
|
Easy |
1339
|
LeetCode 1339 Maximum Product of Splitted Binary Tree (Python)
|
Medium |
1342
|
LeetCode 1342 Number of Steps to Reduce a Number to Zero (Python)
|
Easy |
1344
|
LeetCode 1344 Angle Between Hands of a Clock (Python)
|
Medium |
1396
|
LeetCode 1396 Design Underground System (Python)
|
Medium |
1402
|
LeetCode 1402 Reducing Dishes (Python)
|
Hard |
1416
|
LeetCode 1416 Restore The Array (Python)
|
Hard |
1424
|
LeetCode 1424 Diagonal Traverse II (Python)
|
Medium |
1437
|
LeetCode 1437 Check If All 1's Are at Least Length K Places Away (Python)
|
Easy |
1441
|
LeetCode 1441 Build an Array With Stack Operations (Python)
|
Easy |
1442
|
LeetCode 1442 Count Triplets That Can Form Two Arrays of Equal XOR (Python)
|
Medium |
1443
|
LeetCode 1443 Minimum Time to Collect All Apples in a Tree (Python)
|
Medium |
1444
|
LeetCode 1444 Number of Ways of Cutting a Pizza (Python)
|
Hard |
1446
|
LeetCode 1446 Consecutive Characters (Python)
|
Easy |
1446
|
LeetCode 1446 Consecutive Characters (Python)
|
Easy |
1447
|
LeetCode Leetcode 1447 Simplified Fractions (Python)
|
Medium |
1448
|
LeetCode 1448 Count Good Nodes in Binary Tree (Python)
|
Medium |
1449
|
LeetCode 1449 Form Largest Integer With Digits That Add up to Target (Python)
|
Hard |
1450
|
LeetCode 1450 Number of Students Doing Homework at a Given Time (Python)
|
Easy |
1451
|
LeetCode 1451 Rearrange Words in a Sentence (Python)
|
Medium |
1452
|
LeetCode 1452 People Whose List of Favorite Companies Is Not a Subset of Another List (Python)
|
Medium |
1453
|
LeetCode 1453 Maximum Number of Darts Inside of a Circular Dartboard (Python)
|
Hard |
1457
|
LeetCode 1457 Pseudo-Palindromic Paths in a Binary Tree (Python)
|
Medium |
1461
|
LeetCode 1461 Check If a String Contains All Binary Codes of Size K (Python)
|
Medium |
1463
|
LeetCode 1463 Cherry Pickup II (Python)
|
Hard |
1466
|
LeetCode 1466 Reorder Routes to Make All Paths Lead to the City Zero (Python)
|
Medium |
1470
|
LeetCode 1470 Shuffle the Array (Python)
|
Easy |
1475
|
LeetCode 1475 Final Prices With a Special Discount in a Shop (Python)
|
Easy |
1492
|
LeetCode 1492 The kth Factor of n (Python)
|
Medium |
1502
|
LeetCode 1502 Can Make Arithmetic Progression From Sequence (Python)
|
Easy |
1503
|
LeetCode 1503 Last Moment Before All Ants Fall Out of a Plank (Python)
|
Medium |
1510
|
LeetCode 1510 Stone Game IV (Python)
|
Hard |
1512
|
LeetCode 1512 Number of Good Pairs (Python)
|
Easy |
1513
|
LeetCode 1513 Number of Substrings With Only 1s (Python)
|
Medium |
1514
|
LeetCode 1514 Path with Maximum Probability (Python)
|
Medium |
1515
|
LeetCode LeetCode 1515 Best Position for a Service Centre (Python)
|
Hard |
1523
|
LeetCode 1523 Count Odd Numbers in an Interval Range (Python)
|
Easy |
1530
|
LeetCode 1530 Number of Good Leaf Nodes Pairs (Python)
|
Medium |
1534
|
LeetCode 1534 Count Good Triplets (Python)
|
Easy |
1535
|
LeetCode 1535 Find the Winner of an Array Game (Python)
|
Medium |
1539
|
LeetCode 1539 Kth Missing Positive Number (Python)
|
Easy |
1541
|
LeetCode 1541 Minimum Insertions to Balance a Parentheses String (Python)
|
Medium |
1551
|
LeetCode 1551 Minimum Operations to Make Array Equal (Python)
|
Medium |
1570
|
LeetCode 1570 Dot Product of Two Sparse Vectors (Python)
|
Medium |
1579
|
LeetCode 1579 Remove Max Number of Edges to Keep Graph Fully Traversable (Python)
|
Hard |
1609
|
LeetCode 1609 Even Odd Tree (Python)
|
Medium |
1631
|
LeetCode 1631 Path With Minimum Effort (Python)
|
Medium |
1632
|
LeetCode 1632 Rank Transform of a Matrix (Python)
|
Hard |
1641
|
LeetCode 1641 Count Sorted Vowel Strings (Python)
|
Medium |
1642
|
LeetCode 1642 Furthest Building You Can Reach (Python)
|
Medium |
1644
|
LeetCode 1644 Lowest Common Ancestor of a Binary Tree II (Python)
|
Medium |
1646
|
LeetCode 1646 Get Maximum in Generated Array (Python)
|
Easy |
1649
|
LeetCode 1649 Create Sorted Array through Instructions (Python)
|
Hard |
1650
|
LeetCode 1650 Lowest Common Ancestor of a Binary Tree III (Python)
|
Medium |
1657
|
LeetCode 1657 Determine if Two Strings Are Close (Python)
|
Medium |
1663
|
LeetCode 1663 Smallest String With A Given Numeric Value (Python)
|
Medium |
1673
|
LeetCode 1673 Find the Most Competitive Subsequence (Python)
|
Medium |
1675
|
LeetCode 1675 Minimize Deviation in Array (Python)
|
Hard |
1675
|
LeetCode 1675 Minimize Deviation in Array (Python)
|
Hard |
1679
|
LeetCode 1679 Max Number of K-Sum Pairs (Python)
|
Medium |
1680
|
LeetCode 1680 Concatenation of Consecutive Binary Numbers (Python)
|
Medium |
1697
|
LeetCode 1697 Checking Existence of Edge Length Limited Paths (Python)
|
Hard |
1704
|
LeetCode 1704 Determine if String Halves Are Alike (Python)
|
Medium |
1721
|
LeetCode 1721 Swapping Nodes in a Linked List (Python)
|
Medium |
1748
|
LeetCode 1748 Sum of Unique Elements (Python)
|
Easy |
1762
|
LeetCode 1762 Buildings With an Ocean View (Python)
|
Medium |
1778
|
LeetCode 1778 Shortest Path in a Hidden Grid (Python)
|
Medium |
1857
|
LeetCode 1857 Largest Color Value in a Directed Graph (Python)
|
Hard |
2300
|
LeetCode 2300 Successful Pairs of Spells and Potions (Python)
|
Medium |
2306
|
LeetCode 2306 Naming a Company (Python)
|
Hard |
2316
|
LeetCode 2316 Count Unreachable Pairs of Nodes in an Undirected Graph (Python)
|
Medium |
2336
|
LeetCode 2336 Smallest Number in Infinite Set (Python)
|
Medium |
2405
|
LeetCode 2405 Optimal Partition of String (Python)
|
Medium |
2421
|
LeetCode 2421 Number of Good Paths (Python)
|
Hard |
2439
|
LeetCode 2439 Minimize Maximum of Array (Python)
|
Medium |
2477
|
LeetCode 2477 Minimum Fuel Cost to Report to the Capital (Python)
|
Medium |
2850
|
LeetCode 2850 Minimum Moves to Spread Stones Over Grid (Python)
|
Medium |
3043
|
LeetCode 3043 Find the Length of the Longest Common Prefix (Python)
|
Medium |
9999
|
LeetCode Cousins in Binary Tree (Python)
|
N/A |
9999
|
LeetCode Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree (Python)
|
N/A |
9999
|
LeetCode First Unique Number (Python)
|
N/A |
9999
|
LeetCode Perform String Shifts (Python)
|
N/A |
9999
|
LeetCode Leftmost Column with at Least a One (Python)
|
N/A |
9999
|
LeetCode Counting Elements (Python)
|
N/A |