LeetCode Questions List (LeetCode 问题列表)- Java Solutions

时间:2023-12-19 08:08:01

  因为在开始写这个博客之前,已经刷了100题了,所以现在还是有很多题目没有加进来,为了方便查找哪些没加进来,先列一个表可以比较清楚的查看,也方便给大家查找。如果有哪些题目的链接有错误,请大家留言和谅解,链多了会眼花。

 # Title Category Difficulty
 697  Degree of an Array  Algorithms  Easy
 695  Max Area of Island  Algorithms  Easy
 674  Longest Continuous Increasing Subsequence  Algorithms  Easy
 665  Non-decreasing Array  Algorithms  Easy
 661  Image Smoother  Algorithms  Easy
 643  Maximum Average Subarray I   Algorithms  Easy
 628  Maximum Product of Three Numbers  Algorithms  Easy
 624  Maximum Distance in Arrays $  Algorithms  Easy
 617  Merge Two Binary Trees  Algorithms  Easy
 606  Construct String from Binary Tree  Algorithms  Easy
 605  Can Place Flowers  Algorithms  Easy
 604  Design Compressed String Iterator $  Algorithms  Easy
 599  Minimum Index Sum of Two Lists  Algorithms  Easy
 598  Range Addition II  Algorithms  Easy
 594  Longest Harmonious Subsequence  Algorithms  Easy
 581  Shortest Unsorted Continuous Subarray  Algorithms  Easy
 575  Distribute Candies  Algorithms  Easy
 572  Subtree of Another Tree  Algorithms  Easy
 566  Reshape the Matrix  Algorithms  Easy
 563  Binary Tree Tilt  Algorithms  Easy
 562  Longest Line of Consecutive One in Matrix $  Algorithms  Medium
 561  Array Partition I  Algorithms  Easy
 560  Subarray Sum Equals K  Algorithms  Medium
 548  Split Array with Equal Sum $  Algorithms  Medium
 543  Diameter of Binary Tree  Algorithms  Easy
 538  Convert BST to Greater Tree  Algorithms  Easy
 533  Lonely Pixel II $  Algorithms  Medium
 532  K-diff Pairs in an Array  Algorithms  Easy
 531  Lonely Pixel I $  Algorithms  Medium
 530  Minimum Absolute Difference in BST  Algorithms  Easy
 501  Find Mode in Binary Search Tree  Algorithms  Easy
 495  Teemo Attacking  Algorithms  Medium
 485  Max Consecutive Ones  Algorithms  Easy
 476  Number Complement  Algorithms  Easy
 461  Hamming Distance  Algorithms  Easy
 455  Assign Cookies  Algorithms  Easy
 448  Find All Numbers Disappeared in an Array  Algorithms  Easy
 442  Find All Duplicates in an Array  Algorithms  Medium
 437  Path Sum III  Algorithms  Easy
 414  Third Maximum Number  Algorithms  Easy
 405  Convert a Number to Hexadecimal  Algorithms  Easy
 404  Sum of Left Leaves  Algorithms  Easy
 381  Insert Delete GetRandom O(1) - Duplicates allowed  Algorithms  Hard
 380  Insert Delete GetRandom O(1)  Algorithms  Medium
 371  Sum of Two Integers  Algorithms  Easy
 370  Range Addition $  Algorithms   Medium
 346  Moving Average from Data Stream $  Algorithms  Easy
 342  Power of Four  Algorithms  Easy
 339  Nested List Weight Sum $  Algorithms  Easy
 292  Nim Game  Algorithms  Easy
 289  Game of Life  Algorithms   Medium
 287  Find the Duplicate Number  Algorithms  Medium
 283  Move Zeroes  Algorithms  Easy
 280  Wiggle Sort $  Algorithms  Medium
 277  Find the Celebrity $  Algorithms  Medium
 268  Missing Number  Algorithms  Easy
 259  3Sum Smaller $  Algorithms  Medium
 257  Binary Tree Paths  Algorithms  Easy
 252  Meeting Rooms $  Algorithms  Easy
 245  Shortest Word Distance III $  Algorithms  Medium
 243  Shortest Word Distance $  Algorithms  Easy
 238  Product of Array Except Self  Algorithms  Medium
 235  Lowest Common Ancestor of a Binary Search Tree  Algorithms  Easy
 229  Majority Element II  Algorithms  Medium
 228  Summary Ranges  Algorithms  Medium
 226  Invert Binary Tree  Algorithms  Easy
 219  Contains Duplicate II  Algorithms  Easy
 217  Contains Duplicate  Algorithms  Easy
 216  Combination Sum III  Algorithms  Medium
 209  Minimum Size Subarray Sum  Algorithms  Medium
 205  Isomorphic Strings  Algorithms  Easy
 204  Count Primes  Algorithms  Easy
 202  Happy Number  Algorithms  Easy
 191  Number of 1 bits  Algorithms  Easy
 190  Reverse Bits  Algorithms  Easy
 189  Rotate Array  Algorithms  Easy
 170  Two Sum III - Data structure design $  Algorithms  Easy
 169  Majority Element      Algorithms  Easy
 167  Two Sum II - Input array is sorted  Algorithms  Easy
 163  Missing Ranges $  Algorithms  Medium
 162  Find Peak Element  Algorithms  Medium
 153  Find Minimum in Rotated Sorted Array  Algorithms  Medium
 152  Maximum Product Subarray  Algorithms  Medium
 136  Single Number  Algorithms  Easy
 122  Best Time to Buy and Sell Stock II  Algorithms  Easy
 121  Best Time to Buy and Sell Stock  Algorithms  Easy 
 120  Triangle  Algorithms  Medium
 119  Pascal's Triangle II  Algorithms  Easy
 118  Pascal's Triangle  Algorithms  Easy
 112  Path Sum  Algorithms  Easy
 111  Minimum Depth of Binary Tree  Algorithms  Easy
 110  Balanced Binary Tree  Algorithms  Easy
 108  Convert Sorted Array to Binary Search Tree  Algorithms  Easy
 107  Binary Tree Level Order Traversal II  Algorithms  Easy
 106  Construct Binary Tree from Inorder and Postorder Traversal  Algorithms  Medium
 105  Construct Binary Tree from Preorder and Inorder Traversal  Algorithms  Medium
 104  Maximum Depth of Binary Tree  Algorithms  Easy
 101  Symmetric Tree  Algorithms  Easy
 100  Same Tree  Algorithms  Easy
 90  Subsets II  Algorithms  Medium
 88  Merge Sorted Array  Algorithms  Easy
 81  Search in Rotated Sorted Array II  Algorithms  Medium
 80  Remove Duplicates from Sorted Array II   Algorithms  Medium
 79  Word Search  Algorithms  Medium
 78  Subsets  Algorithms  Medium
 75  Sort Colors  Algorithms  Medium
 74  Search a 2D Matrix  Algorithms  Medium
 73  Set Matrix Zeroes  Algorithms  Medium
 66  Plus One  Algorithms  Easy
 64  Minimum Path Sum  Algorithms  Medium
 63  Unique Paths II  Algorithms  Medium
 62  Unique Paths  Algorithms  Medium
 59  Spiral Matrix II  Algorithms  Medium
 56  Merge Intervals  Algorithms  Medium
 55  Jump Game  Algorithms  Medium
 54  Spiral Matrix  Algorithms  Medium
 53  Maximum Subarray  Algorithms  Easy
 48  Rotate Image  Algorithms  Medium
 40  Combination Sum II  Algorithms  Medium
 39  Combination Sum  Algorithms  Medium
 35  Search Insert Position  Algorithms  Easy
 34  Search for a Range  Algorithms  Medium
 33  Search in Rotated Sorted Array  Algorithms  Medium
 31  Next Permutation  Algorithms  Medium
 27  Remove Element  Algorithms  Easy
 26  Remove Duplicates from Sorted Array  Algorithms  Easy
 18  4Sum  Algorithms  Medium
 16  3Sum Closest  Algorithms  Medium
 15  3Sum  Algorithms  Medium
 11  Container With Most Water  Algorithms  Medium
 1  Two Sum  Algorithms  Easy