Skip to content

Latest commit

 

History

History
1392 lines (1388 loc) · 246 KB

README_EN.md

File metadata and controls

1392 lines (1388 loc) · 246 KB

LeetCode

中文文档

Solutions

# Solution Difficulty
0001 Two Sum Easy
0002 Add Two Numbers Medium
0003 Longest Substring Without Repeating Characters Medium
0004 Median of Two Sorted Arrays Hard
0005 Longest Palindromic Substring Medium
0006 ZigZag Conversion Medium
0007 Reverse Integer Easy
0008 String to Integer (atoi) Medium
0009 Palindrome Number Easy
0010 Regular Expression Matching Hard
0011 Container With Most Water Medium
0012 Integer to Roman Medium
0013 Roman to Integer Easy
0014 Longest Common Prefix Easy
0015 3Sum Medium
0016 3Sum Closest Medium
0017 Letter Combinations of a Phone Number Medium
0018 4Sum Medium
0019 Remove Nth Node From End of List Medium
0020 Valid Parentheses Easy
0021 Merge Two Sorted Lists Easy
0022 Generate Parentheses Medium
0023 Merge k Sorted Lists Hard
0024 Swap Nodes in Pairs Medium
0025 Reverse Nodes in k-Group Hard
0026 Remove Duplicates from Sorted Array Easy
0027 Remove Element Easy
0028 Implement strStr() Easy
0029 Divide Two Integers Medium
0030 Substring with Concatenation of All Words Hard
0031 Next Permutation Medium
0032 Longest Valid Parentheses Hard
0033 Search in Rotated Sorted Array Medium
0034 Find First and Last Position of Element in Sorted Array Medium
0035 Search Insert Position Easy
0036 Valid Sudoku Medium
0037 Sudoku Solver Hard
0038 Count and Say Easy
0039 Combination Sum Medium
0040 Combination Sum II Medium
0041 First Missing Positive Hard
0042 Trapping Rain Water Hard
0043 Multiply Strings Medium
0044 Wildcard Matching Hard
0045 Jump Game II Hard
0046 Permutations Medium
0047 Permutations II Medium
0048 Rotate Image Medium
0049 Group Anagrams Medium
0050 Pow(x, n) Medium
0051 N-Queens Hard
0052 N-Queens II Hard
0053 Maximum Subarray Easy
0054 Spiral Matrix Medium
0055 Jump Game Medium
0056 Merge Intervals Medium
0057 Insert Interval Hard
0058 Length of Last Word Easy
0059 Spiral Matrix II Medium
0060 Permutation Sequence Medium
0061 Rotate List Medium
0062 Unique Paths Medium
0063 Unique Paths II Medium
0064 Minimum Path Sum Medium
0065 Valid Number Hard
0066 Plus One Easy
0067 Add Binary Easy
0068 Text Justification Hard
0069 Sqrt(x) Easy
0070 Climbing Stairs Easy
0071 Simplify Path Medium
0072 Edit Distance Hard
0073 Set Matrix Zeroes Medium
0074 Search a 2D Matrix Medium
0075 Sort Colors Medium
0076 Minimum Window Substring Hard
0077 Combinations Medium
0078 Subsets Medium
0079 Word Search Medium
0080 Remove Duplicates from Sorted Array II Medium
0081 Search in Rotated Sorted Array II Medium
0082 Remove Duplicates from Sorted List II Medium
0083 Remove Duplicates from Sorted List Easy
0084 Largest Rectangle in Histogram Hard
0085 Maximal Rectangle Hard
0086 Partition List Medium
0087 Scramble String Hard
0088 Merge Sorted Array Easy
0089 Gray Code Medium
0090 Subsets II Medium
0091 Decode Ways Medium
0092 Reverse Linked List II Medium
0093 Restore IP Addresses Medium
0094 Binary Tree Inorder Traversal Medium
0095 Unique Binary Search Trees II Medium
0096 Unique Binary Search Trees Medium
0097 Interleaving String Hard
0098 Validate Binary Search Tree Medium
0099 Recover Binary Search Tree Hard
0100 Same Tree Easy
0101 Symmetric Tree Easy
0102 Binary Tree Level Order Traversal Medium
0103 Binary Tree Zigzag Level Order Traversal Medium
0104 Maximum Depth of Binary Tree Easy
0105 Construct Binary Tree from Preorder and Inorder Traversal Medium
0106 Construct Binary Tree from Inorder and Postorder Traversal Medium
0107 Binary Tree Level Order Traversal II Easy
0108 Convert Sorted Array to Binary Search Tree Easy
0109 Convert Sorted List to Binary Search Tree Medium
0110 Balanced Binary Tree Easy
0111 Minimum Depth of Binary Tree Easy
0112 Path Sum Easy
0113 Path Sum II Medium
0114 Flatten Binary Tree to Linked List Medium
0115 Distinct Subsequences Hard
0116 Populating Next Right Pointers in Each Node Medium
0117 Populating Next Right Pointers in Each Node II Medium
0118 Pascal's Triangle Easy
0119 Pascal's Triangle II Easy
0120 Triangle Medium
0121 Best Time to Buy and Sell Stock Easy
0122 Best Time to Buy and Sell Stock II Easy
0123 Best Time to Buy and Sell Stock III Hard
0124 Binary Tree Maximum Path Sum Hard
0125 Valid Palindrome Easy
0126 Word Ladder II Hard
0127 Word Ladder Medium
0128 Longest Consecutive Sequence Hard
0129 Sum Root to Leaf Numbers Medium
0130 Surrounded Regions Medium
0131 Palindrome Partitioning Medium
0132 Palindrome Partitioning II Hard
0133 Clone Graph Medium
0134 Gas Station Medium
0135 Candy Hard
0136 Single Number Easy
0137 Single Number II Medium
0138 Copy List with Random Pointer Medium
0139 Word Break Medium
0140 Word Break II Hard
0141 Linked List Cycle Easy
0142 Linked List Cycle II Medium
0143 Reorder List Medium
0144 Binary Tree Preorder Traversal Medium
0145 Binary Tree Postorder Traversal Hard
0146 LRU Cache Medium
0147 Insertion Sort List Medium
0148 Sort List Medium
0149 Max Points on a Line Hard
0150 Evaluate Reverse Polish Notation Medium
0151 Reverse Words in a String Medium
0152 Maximum Product Subarray Medium
0153 Find Minimum in Rotated Sorted Array Medium
0154 Find Minimum in Rotated Sorted Array II Hard
0155 Min Stack Easy
0156 Binary Tree Upside Down Medium
0157 Read N Characters Given Read4 Easy
0158 Read N Characters Given Read4 II - Call multiple times Hard
0159 Longest Substring with At Most Two Distinct Characters Medium
0160 Intersection of Two Linked Lists Easy
0161 One Edit Distance Medium
0162 Find Peak Element Medium
0163 Missing Ranges Medium
0164 Maximum Gap Hard
0165 Compare Version Numbers Medium
0166 Fraction to Recurring Decimal Medium
0167 Two Sum II - Input array is sorted Easy
0168 Excel Sheet Column Title Easy
0169 Majority Element Easy
0170 Two Sum III - Data structure design Easy
0171 Excel Sheet Column Number Easy
0172 Factorial Trailing Zeroes Easy
0173 Binary Search Tree Iterator Medium
0174 Dungeon Game Hard
0175 Combine Two Tables Easy
0176 Second Highest Salary Easy
0177 Nth Highest Salary Medium
0178 Rank Scores Medium
0179 Largest Number Medium
0180 Consecutive Numbers Medium
0181 Employees Earning More Than Their Managers Easy
0182 Duplicate Emails Easy
0183 Customers Who Never Order Easy
0184 Department Highest Salary Medium
0185 Department Top Three Salaries Hard
0186 Reverse Words in a String II Medium
0187 Repeated DNA Sequences Medium
0188 Best Time to Buy and Sell Stock IV Hard
0189 Rotate Array Easy
0190 Reverse Bits Easy
0191 Number of 1 Bits Easy
0192 Word Frequency Medium
0193 Valid Phone Numbers Easy
0194 Transpose File Medium
0195 Tenth Line Easy
0196 Delete Duplicate Emails Easy
0197 Rising Temperature Easy
0198 House Robber Easy
0199 Binary Tree Right Side View Medium
0200 Number of Islands Medium
0201 Bitwise AND of Numbers Range Medium
0202 Happy Number Easy
0203 Remove Linked List Elements Easy
0204 Count Primes Easy
0205 Isomorphic Strings Easy
0206 Reverse Linked List Easy
0207 Course Schedule Medium
0208 Implement Trie (Prefix Tree) Medium
0209 Minimum Size Subarray Sum Medium
0210 Course Schedule II Medium
0211 Add and Search Word - Data structure design Medium
0212 Word Search II Hard
0213 House Robber II Medium
0214 Shortest Palindrome Hard
0215 Kth Largest Element in an Array Medium
0216 Combination Sum III Medium
0217 Contains Duplicate Easy
0218 The Skyline Problem Hard
0219 Contains Duplicate II Easy
0220 Contains Duplicate III Medium
0221 Maximal Square Medium
0222 Count Complete Tree Nodes Medium
0223 Rectangle Area Medium
0224 Basic Calculator Hard
0225 Implement Stack using Queues Easy
0226 Invert Binary Tree Easy
0227 Basic Calculator II Medium
0228 Summary Ranges Medium
0229 Majority Element II Medium
0230 Kth Smallest Element in a BST Medium
0231 Power of Two Easy
0232 Implement Queue using Stacks Easy
0233 Number of Digit One Hard
0234 Palindrome Linked List Easy
0235 Lowest Common Ancestor of a Binary Search Tree Easy
0236 Lowest Common Ancestor of a Binary Tree Medium
0237 Delete Node in a Linked List Easy
0238 Product of Array Except Self Medium
0239 Sliding Window Maximum Hard
0240 Search a 2D Matrix II Medium
0241 Different Ways to Add Parentheses Medium
0242 Valid Anagram Easy
0243 Shortest Word Distance Easy
0244 Shortest Word Distance II Medium
0245 Shortest Word Distance III Medium
0246 Strobogrammatic Number Easy
0247 Strobogrammatic Number II Medium
0248 Strobogrammatic Number III Hard
0249 Group Shifted Strings Medium
0250 Count Univalue Subtrees Medium
0251 Flatten 2D Vector Medium
0252 Meeting Rooms Easy
0253 Meeting Rooms II Medium
0254 Factor Combinations Medium
0255 Verify Preorder Sequence in Binary Search Tree Medium
0256 Paint House Easy
0257 Binary Tree Paths Easy
0258 Add Digits Easy
0259 3Sum Smaller Medium
0260 Single Number III Medium
0261 Graph Valid Tree Medium
0262 Trips and Users Hard
0263 Ugly Number Easy
0264 Ugly Number II Medium
0265 Paint House II Hard
0266 Palindrome Permutation Easy
0267 Palindrome Permutation II Medium
0268 Missing Number Easy
0269 Alien Dictionary Hard
0270 Closest Binary Search Tree Value Easy
0271 Encode and Decode Strings Medium
0272 Closest Binary Search Tree Value II Hard
0273 Integer to English Words Hard
0274 H-Index Medium
0275 H-Index II Medium
0276 Paint Fence Easy
0277 Find the Celebrity Medium
0278 First Bad Version Easy
0279 Perfect Squares Medium
0280 Wiggle Sort Medium
0281 Zigzag Iterator Medium
0282 Expression Add Operators Hard
0283 Move Zeroes Easy
0284 Peeking Iterator Medium
0285 Inorder Successor in BST Medium
0286 Walls and Gates Medium
0287 Find the Duplicate Number Medium
0288 Unique Word Abbreviation Medium
0289 Game of Life Medium
0290 Word Pattern Easy
0291 Word Pattern II Hard
0292 Nim Game Easy
0293 Flip Game Easy
0294 Flip Game II Medium
0295 Find Median from Data Stream Hard
0296 Best Meeting Point Hard
0297 Serialize and Deserialize Binary Tree Hard
0298 Binary Tree Longest Consecutive Sequence Medium
0299 Bulls and Cows Easy
0300 Longest Increasing Subsequence Medium
0301 Remove Invalid Parentheses Hard
0302 Smallest Rectangle Enclosing Black Pixels Hard
0303 Range Sum Query - Immutable Easy
0304 Range Sum Query 2D - Immutable Medium
0305 Number of Islands II Hard
0306 Additive Number Medium
0307 Range Sum Query - Mutable Medium
0308 Range Sum Query 2D - Mutable Hard
0309 Best Time to Buy and Sell Stock with Cooldown Medium
0310 Minimum Height Trees Medium
0311 Sparse Matrix Multiplication Medium
0312 Burst Balloons Hard
0313 Super Ugly Number Medium
0314 Binary Tree Vertical Order Traversal Medium
0315 Count of Smaller Numbers After Self Hard
0316 Remove Duplicate Letters Hard
0317 Shortest Distance from All Buildings Hard
0318 Maximum Product of Word Lengths Medium
0319 Bulb Switcher Medium
0320 Generalized Abbreviation Medium
0321 Create Maximum Number Hard
0322 Coin Change Medium
0323 Number of Connected Components in an Undirected Graph Medium
0324 Wiggle Sort II Medium
0325 Maximum Size Subarray Sum Equals k Medium
0326 Power of Three Easy
0327 Count of Range Sum Hard
0328 Odd Even Linked List Medium
0329 Longest Increasing Path in a Matrix Hard
0330 Patching Array Hard
0331 Verify Preorder Serialization of a Binary Tree Medium
0332 Reconstruct Itinerary Medium
0333 Largest BST Subtree Medium
0334 Increasing Triplet Subsequence Medium
0335 Self Crossing Hard
0336 Palindrome Pairs Hard
0337 House Robber III Medium
0338 Counting Bits Medium
0339 Nested List Weight Sum Easy
0340 Longest Substring with At Most K Distinct Characters Hard
0341 Flatten Nested List Iterator Medium
0342 Power of Four Easy
0343 Integer Break Medium
0344 Reverse String Easy
0345 Reverse Vowels of a String Easy
0346 Moving Average from Data Stream Easy
0347 Top K Frequent Elements Medium
0348 Design Tic-Tac-Toe Medium
0349 Intersection of Two Arrays Easy
0350 Intersection of Two Arrays II Easy
0351 Android Unlock Patterns Medium
0352 Data Stream as Disjoint Intervals Hard
0353 Design Snake Game Medium
0354 Russian Doll Envelopes Hard
0355 Design Twitter Medium
0356 Line Reflection Medium
0357 Count Numbers with Unique Digits Medium
0358 Rearrange String k Distance Apart Hard
0359 Logger Rate Limiter Easy
0360 Sort Transformed Array Medium
0361 Bomb Enemy Medium
0362 Design Hit Counter Medium
0363 Max Sum of Rectangle No Larger Than K Hard
0364 Nested List Weight Sum II Medium
0365 Water and Jug Problem Medium
0366 Find Leaves of Binary Tree Medium
0367 Valid Perfect Square Easy
0368 Largest Divisible Subset Medium
0369 Plus One Linked List Medium
0370 Range Addition Medium
0371 Sum of Two Integers Easy
0372 Super Pow Medium
0373 Find K Pairs with Smallest Sums Medium
0374 Guess Number Higher or Lower Easy
0375 Guess Number Higher or Lower II Medium
0376 Wiggle Subsequence Medium
0377 Combination Sum IV Medium
0378 Kth Smallest Element in a Sorted Matrix Medium
0379 Design Phone Directory Medium
0380 Insert Delete GetRandom O(1) Medium
0381 Insert Delete GetRandom O(1) - Duplicates allowed Hard
0382 Linked List Random Node Medium
0383 Ransom Note Easy
0384 Shuffle an Array Medium
0385 Mini Parser Medium
0386 Lexicographical Numbers Medium
0387 First Unique Character in a String Easy
0388 Longest Absolute File Path Medium
0389 Find the Difference Easy
0390 Elimination Game Medium
0391 Perfect Rectangle Hard
0392 Is Subsequence Easy
0393 UTF-8 Validation Medium
0394 Decode String Medium
0395 Longest Substring with At Least K Repeating Characters Medium
0396 Rotate Function Medium
0397 Integer Replacement Medium
0398 Random Pick Index Medium
0399 Evaluate Division Medium
0400 Nth Digit Medium
0401 Binary Watch Easy
0402 Remove K Digits Medium
0403 Frog Jump Hard
0404 Sum of Left Leaves Easy
0405 Convert a Number to Hexadecimal Easy
0406 Queue Reconstruction by Height Medium
0407 Trapping Rain Water II Hard
0408 Valid Word Abbreviation Easy
0409 Longest Palindrome Easy
0410 Split Array Largest Sum Hard
0411 Minimum Unique Word Abbreviation Hard
0412 Fizz Buzz Easy
0413 Arithmetic Slices Medium
0414 Third Maximum Number Easy
0415 Add Strings Easy
0416 Partition Equal Subset Sum Medium
0417 Pacific Atlantic Water Flow Medium
0418 Sentence Screen Fitting Medium
0419 Battleships in a Board Medium
0420 Strong Password Checker Hard
0421 Maximum XOR of Two Numbers in an Array Medium
0422 Valid Word Square Easy
0423 Reconstruct Original Digits from English Medium
0424 Longest Repeating Character Replacement Medium
0425 Word Squares Hard
0432 All O`one Data Structure Hard
0433 Minimum Genetic Mutation Medium
0434 Number of Segments in a String Easy
0435 Non-overlapping Intervals Medium
0436 Find Right Interval Medium
0437 Path Sum III Easy
0438 Find All Anagrams in a String Medium
0439 Ternary Expression Parser Medium
0440 K-th Smallest in Lexicographical Order Hard
0441 Arranging Coins Easy
0442 Find All Duplicates in an Array Medium
0443 String Compression Easy
0444 Sequence Reconstruction Medium
0445 Add Two Numbers II Medium
0446 Arithmetic Slices II - Subsequence Hard
0447 Number of Boomerangs Easy
0448 Find All Numbers Disappeared in an Array Easy
0449 Serialize and Deserialize BST Medium
0450 Delete Node in a BST Medium
0451 Sort Characters By Frequency Medium
0452 Minimum Number of Arrows to Burst Balloons Medium
0453 Minimum Moves to Equal Array Elements Easy
0454 4Sum II Medium
0455 Assign Cookies Easy
0456 132 Pattern Medium
0457 Circular Array Loop Medium
0458 Poor Pigs Hard
0459 Repeated Substring Pattern Easy
0460 LFU Cache Hard
0461 Hamming Distance Easy
0462 Minimum Moves to Equal Array Elements II Medium
0463 Island Perimeter Easy
0464 Can I Win Medium
0465 Optimal Account Balancing Hard
0466 Count The Repetitions Hard
0467 Unique Substrings in Wraparound String Medium
0468 Validate IP Address Medium
0469 Convex Polygon Medium
0471 Encode String with Shortest Length Hard
0472 Concatenated Words Hard
0473 Matchsticks to Square Medium
0474 Ones and Zeroes Medium
0475 Heaters Easy
0476 Number Complement Easy
0477 Total Hamming Distance Medium
0479 Largest Palindrome Product Hard
0480 Sliding Window Median Hard
0481 Magical String Medium
0482 License Key Formatting Easy
0483 Smallest Good Base Hard
0484 Find Permutation Medium
0485 Max Consecutive Ones Easy
0486 Predict the Winner Medium
0487 Max Consecutive Ones II Medium
0488 Zuma Game Hard
0490 The Maze Medium
0491 Increasing Subsequences Medium
0492 Construct the Rectangle Easy
0493 Reverse Pairs Hard
0494 Target Sum Medium
0495 Teemo Attacking Medium
0496 Next Greater Element I Easy
0498 Diagonal Traverse Medium
0499 The Maze III Hard
0500 Keyboard Row Easy
0501 Find Mode in Binary Search Tree Easy
0502 IPO Hard
0503 Next Greater Element II Medium
0504 Base 7 Easy
0505 The Maze II Medium
0506 Relative Ranks Easy
0507 Perfect Number Easy
0508 Most Frequent Subtree Sum Medium
0509 Inorder Successor in BST II Medium
0511 All Paths from Source Lead to Destination Medium
0513 Find Bottom Left Tree Value Medium
0514 Freedom Trail Hard
0515 Find Largest Value in Each Tree Row Medium
0516 Longest Palindromic Subsequence Medium
0517 Super Washing Machines Hard
0518 Coin Change 2 Medium
0520 Detect Capital Easy
0521 Longest Uncommon Subsequence I Easy
0522 Longest Uncommon Subsequence II Medium
0523 Continuous Subarray Sum Medium
0524 Longest Word in Dictionary through Deleting Medium
0525 Contiguous Array Medium
0526 Beautiful Arrangement Medium
0527 Word Abbreviation Hard
0529 Minesweeper Medium
0530 Minimum Absolute Difference in BST Easy
0531 Lonely Pixel I Medium
0532 K-diff Pairs in an Array Easy
0533 Lonely Pixel II Medium
0535 Encode and Decode TinyURL Medium
0536 Construct Binary Tree from String Medium
0537 Complex Number Multiplication Medium
0538 Convert BST to Greater Tree Easy
0539 Minimum Time Difference Medium
0540 Single Element in a Sorted Array Medium
0541 Reverse String II Easy
0542 01 Matrix Medium
0543 Diameter of Binary Tree Easy
0544 Output Contest Matches Medium
0545 Boundary of Binary Tree Medium
0546 Remove Boxes Hard
0547 Friend Circles Medium
0548 Split Array with Equal Sum Medium
0549 Binary Tree Longest Consecutive Sequence II Medium
0551 Student Attendance Record I Easy
0552 Student Attendance Record II Hard
0553 Optimal Division Medium
0554 Brick Wall Medium
0555 Split Concatenated Strings Medium
0556 Next Greater Element III Medium
0557 Reverse Words in a String III Easy
0560 Subarray Sum Equals K Medium
0561 Array Partition I Easy
0562 Longest Line of Consecutive One in Matrix Medium
0563 Binary Tree Tilt Easy
0564 Find the Closest Palindrome Hard
0565 Array Nesting Medium
0566 Reshape the Matrix Easy
0567 Permutation in String Medium
0568 Maximum Vacation Days Hard
0569 Median Employee Salary Hard
0570 Managers with at Least 5 Direct Reports Medium
0571 Find Median Given Frequency of Numbers Hard
0572 Subtree of Another Tree Easy
0573 Squirrel Simulation Medium
0574 Winning Candidate Medium
0575 Distribute Candies Easy
0576 Out of Boundary Paths Medium
0577 Employee Bonus Easy
0578 Get Highest Answer Rate Question Medium
0579 Find Cumulative Salary of an Employee Hard
0580 Count Student Number in Departments Medium
0581 Shortest Unsorted Continuous Subarray Easy
0582 Kill Process Medium
0583 Delete Operation for Two Strings Medium
0584 Find Customer Referee Easy
0585 Investments in 2016 Medium
0586 Customer Placing the Largest Number of Orders Easy
0587 Erect the Fence Hard
0588 Design In-Memory File System Hard
0591 Tag Validator Hard
0592 Fraction Addition and Subtraction Medium
0593 Valid Square Medium
0594 Longest Harmonious Subsequence Easy
0595 Big Countries Easy
0596 Classes More Than 5 Students Easy
0597 Friend Requests I: Overall Acceptance Rate Easy
0598 Range Addition II Easy
0599 Minimum Index Sum of Two Lists Easy
0600 Non-negative Integers without Consecutive Ones Hard
0601 Human Traffic of Stadium Hard
0602 Friend Requests II: Who Has the Most Friends Medium
0603 Consecutive Available Seats Easy
0604 Design Compressed String Iterator Easy
0605 Can Place Flowers Easy
0606 Construct String from Binary Tree Easy
0607 Sales Person Easy
0608 Tree Node Medium
0609 Find Duplicate File in System Medium
0610 Triangle Judgement Easy
0611 Valid Triangle Number Medium
0612 Shortest Distance in a Plane Medium
0613 Shortest Distance in a Line Easy
0614 Second Degree Follower Medium
0615 Average Salary: Departments VS Company Hard
0616 Add Bold Tag in String Medium
0617 Merge Two Binary Trees Easy
0618 Students Report By Geography Hard
0619 Biggest Single Number Easy
0620 Not Boring Movies Easy
0621 Task Scheduler Medium
0623 Add One Row to Tree Medium
0624 Maximum Distance in Arrays Easy
0625 Minimum Factorization Medium
0626 Exchange Seats Medium
0627 Swap Salary Easy
0628 Maximum Product of Three Numbers Easy
0629 K Inverse Pairs Array Hard
0630 Course Schedule III Hard
0631 Design Excel Sum Formula Hard
0632 Smallest Range Covering Elements from K Lists Hard
0633 Sum of Square Numbers Easy
0634 Find the Derangement of An Array Medium
0635 Design Log Storage System Medium
0636 Exclusive Time of Functions Medium
0637 Average of Levels in Binary Tree Easy
0638 Shopping Offers Medium
0639 Decode Ways II Hard
0640 Solve the Equation Medium
0642 Design Search Autocomplete System Hard
0643 Maximum Average Subarray I Easy
0644 Maximum Average Subarray II Hard
0645 Set Mismatch Easy
0646 Maximum Length of Pair Chain Medium
0647 Palindromic Substrings Medium
0648 Replace Words Medium
0649 Dota2 Senate Medium
0650 2 Keys Keyboard Medium
0651 4 Keys Keyboard Medium
0652 Find Duplicate Subtrees Medium
0653 Two Sum IV - Input is a BST Easy
0654 Maximum Binary Tree Medium
0655 Print Binary Tree Medium
0656 Coin Path Hard
0657 Robot Return to Origin Easy
0658 Find K Closest Elements Medium
0659 Split Array into Consecutive Subsequences Medium
0660 Remove 9 Hard
0661 Image Smoother Easy
0662 Maximum Width of Binary Tree Medium
0663 Equal Tree Partition Medium
0664 Strange Printer Hard
0665 Non-decreasing Array Easy
0666 Path Sum IV Medium
0667 Beautiful Arrangement II Medium
0668 Kth Smallest Number in Multiplication Table Hard
0669 Trim a Binary Search Tree Easy
0670 Maximum Swap Medium
0671 Second Minimum Node In a Binary Tree Easy
0672 Bulb Switcher II Medium
0673 Number of Longest Increasing Subsequence Medium
0674 Longest Continuous Increasing Subsequence Easy
0675 Cut Off Trees for Golf Event Hard
0676 Implement Magic Dictionary Medium
0677 Map Sum Pairs Medium
0678 Valid Parenthesis String Medium
0679 24 Game Hard
0680 Valid Palindrome II Easy
0681 Next Closest Time Medium
0682 Baseball Game Easy
0683 K Empty Slots Hard
0684 Redundant Connection Medium
0685 Redundant Connection II Hard
0686 Repeated String Match Easy
0687 Longest Univalue Path Easy
0688 Knight Probability in Chessboard Medium
0689 Maximum Sum of 3 Non-Overlapping Subarrays Hard
0690 Employee Importance Easy
0691 Stickers to Spell Word Hard
0692 Top K Frequent Words Medium
0693 Binary Number with Alternating Bits Easy
0694 Number of Distinct Islands Medium
0695 Max Area of Island Medium
0696 Count Binary Substrings Easy
0697 Degree of an Array Easy
0698 Partition to K Equal Sum Subsets Medium
0699 Falling Squares Hard
0711 Number of Distinct Islands II Hard
0712 Minimum ASCII Delete Sum for Two Strings Medium
0713 Subarray Product Less Than K Medium
0714 Best Time to Buy and Sell Stock with Transaction Fee Medium
0715 Range Module Hard
0716 Max Stack Easy
0717 1-bit and 2-bit Characters Easy
0718 Maximum Length of Repeated Subarray Medium
0719 Find K-th Smallest Pair Distance Hard
0720 Longest Word in Dictionary Easy
0721 Accounts Merge Medium
0722 Remove Comments Medium
0723 Candy Crush Medium
0724 Find Pivot Index Easy
0725 Split Linked List in Parts Medium
0726 Number of Atoms Hard
0727 Minimum Window Subsequence Hard
0728 Self Dividing Numbers Easy
0729 My Calendar I Medium
0730 Count Different Palindromic Subsequences Hard
0731 My Calendar II Medium
0732 My Calendar III Hard
0733 Flood Fill Easy
0734 Sentence Similarity Easy
0735 Asteroid Collision Medium
0736 Parse Lisp Expression Hard
0737 Sentence Similarity II Medium
0738 Monotone Increasing Digits Medium
0739 Daily Temperatures Medium
0740 Delete and Earn Medium
0741 Cherry Pickup Hard
0742 To Lower Case Easy
0743 Closest Leaf in a Binary Tree Medium
0744 Network Delay Time Medium
0745 Find Smallest Letter Greater Than Target Easy
0746 Prefix and Suffix Search Hard
0747 Min Cost Climbing Stairs Easy
0748 Largest Number At Least Twice of Others Easy
0749 Shortest Completing Word Easy
0750 Contain Virus Hard
0751 Number Of Corner Rectangles Medium
0752 IP to CIDR Easy
0753 Open the Lock Medium
0754 Cracking the Safe Hard
0755 Reach a Number Medium
0756 Pour Water Medium
0757 Pyramid Transition Matrix Medium
0758 Convert Binary Search Tree to Sorted Doubly Linked List Medium
0759 Set Intersection Size At Least Two Hard
0760 Bold Words in String Easy
0761 Employee Free Time Hard
0762 Find Anagram Mappings Easy
0763 Special Binary String Hard
0764 N-ary Tree Level Order Traversal Medium
0765 Serialize and Deserialize N-ary Tree Hard
0766 Flatten a Multilevel Doubly Linked List Medium
0767 Prime Number of Set Bits in Binary Representation Easy
0768 Partition Labels Medium
0769 Largest Plus Sign Medium
0770 Couples Holding Hands Hard
0771 Encode N-ary Tree to Binary Tree Hard
0772 Construct Quad Tree Medium
0773 Logical OR of Two Binary Grids Represented as Quad-Trees Medium
0774 Maximum Depth of N-ary Tree Easy
0775 N-ary Tree Preorder Traversal Easy
0776 N-ary Tree Postorder Traversal Easy
0777 Toeplitz Matrix Easy
0778 Reorganize String Medium
0779 Max Chunks To Make Sorted II Hard
0780 Max Chunks To Make Sorted Medium
0781 Basic Calculator IV Hard
0782 Jewels and Stones Easy
0783 Search in a Binary Search Tree Easy
0784 Insert into a Binary Search Tree Medium
0785 Basic Calculator III Hard
0786 Search in a Sorted Array of Unknown Size Medium
0787 Sliding Puzzle Hard
0788 Minimize Max Distance to Gas Station Hard
0789 Kth Largest Element in a Stream Easy
0790 Global and Local Inversions Medium
0791 Split BST Medium
0792 Binary Search Easy
0793 Swap Adjacent in LR String Medium
0794 Swim in Rising Water Hard
0795 K-th Symbol in Grammar Medium
0796 Reaching Points Hard
0797 Rabbits in Forest Medium
0798 Transform to Chessboard Hard
0799 Minimum Distance Between BST Nodes Easy
0800 Letter Case Permutation Easy
0801 Is Graph Bipartite? Medium
0802 K-th Smallest Prime Fraction Hard
0803 Cheapest Flights Within K Stops Medium
0804 Rotated Digits Easy
0805 Escape The Ghosts Medium
0806 Domino and Tromino Tiling Medium
0807 Custom Sort String Medium
0808 Number of Matching Subsequences Medium
0809 Preimage Size of Factorial Zeroes Function Hard
0810 Valid Tic-Tac-Toe State Medium
0811 Number of Subarrays with Bounded Maximum Medium
0812 Rotate String Easy
0813 All Paths From Source to Target Medium
0814 Smallest Rotation with Highest Score Hard
0815 Champagne Tower Medium
0816 Design HashSet Easy
0817 Design HashMap Easy
0818 Similar RGB Color Easy
0819 Minimum Swaps To Make Sequences Increasing Medium
0820 Find Eventual Safe States Medium
0821 Bricks Falling When Hit Hard
0822 Unique Morse Code Words Easy
0823 Split Array With Same Average Hard
0824 Number of Lines To Write String Easy
0825 Max Increase to Keep City Skyline Medium
0826 Soup Servings Medium
0827 Expressive Words Medium
0828 Chalkboard XOR Game Hard
0829 Subdomain Visit Count Easy
0830 Largest Triangle Area Easy
0831 Largest Sum of Averages Medium
0832 Binary Tree Pruning Medium
0833 Bus Routes Hard
0834 Ambiguous Coordinates Medium
0835 Linked List Components Medium
0836 Race Car Hard
0837 Most Common Word Easy
0838 Design Linked List Medium
0839 Short Encoding of Words Medium
0841 Shortest Distance to a Character Easy
0842 Card Flipping Game Medium
0843 Binary Trees With Factors Medium
0850 Insert into a Sorted Circular Linked List Medium
0851 Goat Latin Easy
0852 Friends Of Appropriate Ages Medium
0853 Most Profit Assigning Work Medium
0854 Making A Large Island Hard
0855 Count Unique Characters of All Substrings of a Given String Hard
0856 Consecutive Numbers Sum Hard
0857 Positions of Large Groups Easy
0858 Masking Personal Information Medium
0859 Design Circular Deque Medium
0860 Design Circular Queue Medium
0861 Flipping an Image Easy
0862 Find And Replace in String Medium
0863 Sum of Distances in Tree Hard
0864 Image Overlap Medium
0865 Robot Room Cleaner Hard
0866 Rectangle Overlap Easy
0867 New 21 Game Medium
0868 Push Dominoes Medium
0869 Similar String Groups Hard
0870 Magic Squares In Grid Easy
0871 Keys and Rooms Medium
0872 Split Array into Fibonacci Sequence Medium
0873 Guess the Word Hard
0874 Backspace String Compare Easy
0875 Longest Mountain in Array Medium
0876 Hand of Straights Medium
0877 Shortest Path Visiting All Nodes Hard
0878 Shifting Letters Medium
0879 Maximize Distance to Closest Person Easy
0880 Rectangle Area II Hard
0881 Loud and Rich Medium
0882 Peak Index in a Mountain Array Easy
0883 Car Fleet Medium
0884 K-Similar Strings Hard
0885 Exam Room Medium
0886 Score of Parentheses Medium
0887 Minimum Cost to Hire K Workers Hard
0888 Mirror Reflection Medium
0889 Buddy Strings Easy
0890 Lemonade Change Easy
0891 Score After Flipping Matrix Medium
0892 Shortest Subarray with Sum at Least K Hard
0893 All Nodes Distance K in Binary Tree Medium
0894 Random Pick with Blacklist Hard
0895 Shortest Path to Get All Keys Hard
0896 Smallest Subtree with all the Deepest Nodes Medium
0897 Prime Palindrome Medium
0898 Transpose Matrix Easy
0899 Binary Gap Easy
0900 Reordered Power of 2 Medium
0901 Advantage Shuffle Medium
0902 Minimum Number of Refueling Stops Hard
0903 Implement Rand10() Using Rand7() Medium
0904 Leaf-Similar Trees Easy
0905 Length of Longest Fibonacci Subsequence Medium
0906 Walking Robot Simulation Easy
0907 Koko Eating Bananas Medium
0908 Middle of the Linked List Easy
0909 Stone Game Medium
0910 Nth Magical Number Hard
0911 Profitable Schemes Hard
0912 Random Pick with Weight Medium
0913 Random Flip Matrix Medium
0914 Random Point in Non-overlapping Rectangles Medium
0915 Generate Random Point in a Circle Medium
0916 Decoded String at Index Medium
0917 Boats to Save People Medium
0918 Reachable Nodes In Subdivided Graph Hard
0919 Projection Area of 3D Shapes Easy
0920 Uncommon Words from Two Sentences Easy
0921 Spiral Matrix III Medium
0922 Possible Bipartition Medium
0923 Super Egg Drop Hard
0924 Fair Candy Swap Easy
0925 Construct Binary Tree from Preorder and Postorder Traversal Medium
0926 Find and Replace Pattern Medium
0927 Sum of Subsequence Widths Hard
0928 Surface Area of 3D Shapes Easy
0929 Groups of Special-Equivalent Strings Easy
0930 All Possible Full Binary Trees Medium
0931 Maximum Frequency Stack Hard
0932 Monotonic Array Easy
0933 Increasing Order Search Tree Easy
0934 Bitwise ORs of Subarrays Medium
0935 Orderly Queue Hard
0936 RLE Iterator Medium
0937 Online Stock Span Medium
0938 Numbers At Most N Given Digit Set Hard
0939 Valid Permutations for DI Sequence Hard
0940 Fruit Into Baskets Medium
0941 Sort Array By Parity Easy
0942 Super Palindromes Hard
0943 Sum of Subarray Minimums Medium
0944 Smallest Range I Easy
0945 Snakes and Ladders Medium
0946 Smallest Range II Medium
0947 Online Election Medium
0948 Sort an Array Medium
0949 Cat and Mouse Hard
0950 X of a Kind in a Deck of Cards Easy
0951 Partition Array into Disjoint Intervals Medium
0952 Word Subsets Medium
0953 Reverse Only Letters Easy
0954 Maximum Sum Circular Subarray Medium
0955 Complete Binary Tree Inserter Medium
0956 Number of Music Playlists Hard
0957 Minimum Add to Make Parentheses Valid Medium
0958 Sort Array By Parity II Easy
0959 3Sum With Multiplicity Medium
0960 Minimize Malware Spread Hard
0961 Long Pressed Name Easy
0962 Flip String to Monotone Increasing Medium
0963 Three Equal Parts Hard
0964 Minimize Malware Spread II Hard
0965 Unique Email Addresses Easy
0966 Binary Subarrays With Sum Medium
0967 Minimum Falling Path Sum Medium
0968 Beautiful Array Medium
0969 Number of Recent Calls Easy
0971 Shortest Bridge Medium
0972 Knight Dialer Medium
0973 Stamping The Sequence Hard
0974 Reorder Data in Log Files Easy
0975 Range Sum of BST Easy
0976 Minimum Area Rectangle Medium
0977 Distinct Subsequences II Hard
0978 Valid Mountain Array Easy
0979 DI String Match Easy
0980 Find the Shortest Superstring Hard
0981 Delete Columns to Make Sorted Easy
0982 Minimum Increment to Make Array Unique Medium
0983 Validate Stack Sequences Medium
0984 Most Stones Removed with Same Row or Column Medium
0985 Bag of Tokens Medium
0986 Largest Time for Given Digits Easy
0987 Reveal Cards In Increasing Order Medium
0988 Flip Equivalent Binary Trees Medium
0989 Largest Component Size by Common Factor Hard
0990 Verifying an Alien Dictionary Easy
0991 Array of Doubled Pairs Medium
0992 Delete Columns to Make Sorted II Medium
0993 Tallest Billboard Hard
0994 Prison Cells After N Days Medium
0998 Check Completeness of a Binary Tree Medium
0999 Regions Cut By Slashes Medium
1000 Delete Columns to Make Sorted III Hard
1001 N-Repeated Element in Size 2N Array Easy
1002 Maximum Width Ramp Medium
1003 Minimum Area Rectangle II Medium
1004 Least Operators to Express Number Hard
1005 Univalued Binary Tree Easy
1006 Vowel Spellchecker Medium
1007 Numbers With Same Consecutive Differences Medium
1008 Binary Tree Cameras Hard
1009 Pancake Sorting Medium
1010 Powerful Integers Easy
1011 Flip Binary Tree To Match Preorder Traversal Medium
1012 Equal Rational Numbers Hard
1013 Fibonacci Number Easy
1014 K Closest Points to Origin Medium
1016 Subarray Sums Divisible by K Medium
1017 Odd Even Jump Hard
1018 Largest Perimeter Triangle Easy
1019 Squares of a Sorted Array Easy
1020 Longest Turbulent Subarray Medium
1021 Distribute Coins in Binary Tree Medium
1022 Unique Paths III Hard
1023 Time Based Key-Value Store Medium
1024 Triples with Bitwise AND Equal To Zero Hard
1025 Minimum Cost For Tickets Medium
1026 String Without AAA or BBB Medium
1027 Sum of Even Numbers After Queries Easy
1028 Interval List Intersections Medium
1029 Vertical Order Traversal of a Binary Tree Medium
1030 Smallest String Starting From Leaf Medium
1031 Add to Array-Form of Integer Easy
1032 Satisfiability of Equality Equations Medium
1033 Broken Calculator Medium
1034 Subarrays with K Different Integers Hard
1035 Cousins in Binary Tree Easy
1036 Rotting Oranges Easy
1037 Minimum Number of K Consecutive Bit Flips Hard
1038 Number of Squareful Arrays Hard
1039 Find the Town Judge Easy
1040 Maximum Binary Tree II Medium
1041 Available Captures for Rook Easy
1042 Minimum Cost to Merge Stones Hard
1043 Grid Illumination Hard
1044 Find Common Characters Easy
1045 Check If Word Is Valid After Substitutions Medium
1046 Max Consecutive Ones III Medium
1047 Maximize Sum Of Array After K Negations Easy
1048 Clumsy Factorial Medium
1049 Minimum Domino Rotations For Equal Row Medium
1050 Construct Binary Search Tree from Preorder Traversal Medium
1051 Shortest Way to Form String Medium
1052 Campus Bikes Medium
1053 Minimize Rounding Error to Meet Target Medium
1054 Complement of Base 10 Integer Easy
1055 Pairs of Songs With Total Durations Divisible by 60 Easy
1056 Capacity To Ship Packages Within D Days Medium
1057 Numbers With Repeated Digits Hard
1058 Lexicographically Smallest Equivalent String Medium
1059 Missing Element in Sorted Array Medium
1060 Longest Repeating Substring Medium
1061 Number of Valid Subarrays Hard
1062 Partition Array Into Three Parts With Equal Sum Easy
1063 Best Sightseeing Pair Medium
1064 Smallest Integer Divisible by K Medium
1065 Binary String With Substrings Representing 1 To N Medium
1066 Fixed Point Easy
1067 Campus Bikes II Medium
1068 Digit Count in Range Hard
1069 Confusing Number Easy
1070 Convert to Base -2 Medium
1071 Binary Prefix Divisible By 5 Easy
1072 Next Greater Node In Linked List Medium
1073 Number of Enclaves Medium
1074 High Five Easy
1075 Index Pairs of a String Easy
1076 Brace Expansion Medium
1077 Confusing Number II Hard
1078 Remove Outermost Parentheses Easy
1079 Sum of Root To Leaf Binary Numbers Easy
1080 Camelcase Matching Medium
1081 Video Stitching Medium
1082 Sum of Digits in the Minimum Number Easy
1083 Two Sum Less Than K Easy
1084 Find K-Length Substrings With No Repeated Characters Medium
1085 The Earliest Moment When Everyone Become Friends Medium
1086 Divisor Game Easy
1087 Longest Arithmetic Sequence Medium
1088 Number of Days in a Month Easy
1089 Remove Vowels from a String Easy
1090 Armstrong Number Easy
1091 Maximum Average Subtree Medium
1092 Maximum Difference Between Node and Ancestor Medium
1093 Recover a Tree From Preorder Traversal Hard
1094 Matrix Cells in Distance Order Easy
1095 Two City Scheduling Easy
1096 Maximum Sum of Two Non-Overlapping Subarrays Medium
1097 Stream of Characters Hard
1098 Largest Unique Number Easy
1099 Path With Maximum Minimum Value Medium
1100 Connecting Cities With Minimum Cost Medium
1101 Parallel Courses Hard
1102 Check If a Number Is Majority Element in a Sorted Array Easy
1103 Moving Stones Until Consecutive Easy
1104 Coloring A Border Medium
1105 Uncrossed Lines Medium
1106 Escape a Large Maze Hard
1107 Minimum Swaps to Group All 1's Together Medium
1108 Analyze User Website Visit Pattern Medium
1111 Minimum Score Triangulation of Polygon Medium
1112 Find Words That Can Be Formed by Characters Easy
1113 Moving Stones Until Consecutive II Medium
1114 Binary Search Tree to Greater Sum Tree Medium
1115 Valid Boomerang Easy
1116 Maximum Level Sum of a Binary Tree Medium
1117 As Far from Land as Possible Medium
1118 Divide Array Into Increasing Sequences Hard
1119 Robot Bounded In Circle Medium
1120 Flower Planting With No Adjacent Easy
1121 Partition Array for Maximum Sum Medium
1122 Longest Duplicate Substring Hard
1123 Single-Row Keyboard Easy
1124 String Transforms Into Another String Hard
1125 Design File System Medium
1126 Minimum Cost to Connect Sticks Medium
1127 Last Stone Weight Easy
1128 Remove All Adjacent Duplicates In String Easy
1129 Longest String Chain Medium
1130 Last Stone Weight II Medium
1131 Count Substrings with Only One Distinct Letter Easy
1132 Before and After Puzzle Medium
1133 Last Substring in Lexicographical Order Hard
1134 Shortest Distance to Target Color Medium
1135 Customers Who Bought All Products Medium
1136 Actors and Directors Who Cooperated At Least Three Times Easy
1137 Height Checker Easy
1138 Grumpy Bookstore Owner Medium
1139 Previous Permutation With One Swap Medium
1140 Distant Barcodes Medium
1141 How Many Apples Can You Put into the Basket Easy
1142 Minimum Knight Moves Medium
1143 Find Smallest Common Element in All Rows Medium
1144 Optimize Water Distribution in a Village Hard
1145 Number of Submatrices That Sum to Target Hard
1146 Greatest Common Divisor of Strings Easy
1147 Flip Columns For Maximum Number of Equal Rows Medium
1148 Adding Two Negabinary Numbers Medium
1149 Intersection of Three Sorted Arrays Easy
1150 Two Sum BSTs Medium
1151 Stepping Numbers Medium
1152 Maximum Number of Ones Hard
1153 Product Sales Analysis I Easy
1154 Product Sales Analysis II Easy
1155 Product Sales Analysis III Medium
1156 Occurrences After Bigram Easy
1157 Insufficient Nodes in Root to Leaf Paths Medium
1159 Smallest Subsequence of Distinct Characters Medium
1160 Letter Tile Possibilities Medium
1161 Project Employees I Easy
1162 Project Employees II Easy
1163 Project Employees III Medium
1164 Missing Number In Arithmetic Progression Easy
1165 Meeting Scheduler Medium
1166 Toss Strange Coins Medium
1167 Minimum Time to Build Blocks Hard
1168 Duplicate Zeros Easy
1169 Largest Values From Labels Medium
1170 Shortest Common Supersequence Hard
1171 Shortest Path in Binary Matrix Medium
1172 Sales Analysis I Easy
1173 Sales Analysis II Easy
1174 Sales Analysis III Easy
1175 Array Transformation Easy
1176 Design A Leaderboard Medium
1177 Tree Diameter Medium
1178 Valid Palindrome III Hard
1179 Game Play Analysis I Easy
1180 Game Play Analysis II Easy
1181 Game Play Analysis III Medium
1182 Game Play Analysis IV Medium
1183 Statistics from a Large Sample Medium
1184 Car Pooling Medium
1185 Find in Mountain Array Hard
1186 Building H2O Medium
1187 Print FooBar Alternately Medium
1188 Brace Expansion II Hard
1189 Encode Number Medium
1190 Smallest Common Region Medium
1191 Synonymous Sentences Medium
1192 Divide Chocolate Hard
1193 Game Play Analysis V Hard
1194 Path In Zigzag Labelled Binary Tree Medium
1195 Distribute Candies to People Easy
1196 Filling Bookcase Shelves Medium
1197 Parsing A Boolean Expression Hard
1198 Unpopular Books Medium
1199 Hexspeak Easy
1200 Remove Interval Medium
1201 Delete Tree Nodes Medium
1202 Palindrome Removal Hard
1203 Print in Order Easy
1204 New Users Daily Count Medium
1205 Defanging an IP Address Easy
1206 Corporate Flight Bookings Medium
1207 Delete Nodes And Return Forest Medium
1208 Maximum Nesting Depth of Two Valid Parentheses Strings Medium
1209 Design Bounded Blocking Queue Medium
1211 Iterator for Combination Medium
1212 Sequential Digits Medium
1213 Handshakes That Don't Cross Hard
1214 Highest Grade For Each Student Medium
1215 Reported Posts Easy
1216 Print Zero Even Odd Medium
1217 Relative Sort Array Easy
1218 Lowest Common Ancestor of Deepest Leaves Medium
1219 Longest Well-Performing Interval Medium
1220 Smallest Sufficient Team Hard
1221 Element Appearing More Than 25% In Sorted Array Easy
1222 Remove Covered Intervals Medium
1224 Minimum Falling Path Sum II Hard
1225 Active Businesses Medium
1226 User Purchase Platform Hard
1227 Number of Equivalent Domino Pairs Easy
1228 Minimum Cost Tree From Leaf Values Medium
1229 Shortest Path with Alternating Colors Medium
1230 Maximum of Absolute Value Expression Medium
1231 Replace Elements with Greatest Element on Right Side Easy
1232 Sum of Mutated Array Closest to Target Medium
1233 Number of Ships in a Rectangle Hard
1234 Number of Paths with Max Score Hard
1236 N-th Tribonacci Number Easy
1237 Reported Posts II Medium
1238 Alphabet Board Path Medium
1239 Largest 1-Bordered Square Medium
1240 Stone Game II Medium
1241 Decompress Run-Length Encoded List Easy
1242 Matrix Block Sum Medium
1243 Sum of Nodes with Even-Valued Grandparent Medium
1244 Distinct Echo Substrings Hard
1245 User Activity for the Past 30 Days I Easy
1246 User Activity for the Past 30 Days II Easy
1247 Decrease Elements To Make Array Zigzag Medium
1248 Binary Tree Coloring Game Medium
1249 Snapshot Array Medium
1250 Longest Common Subsequence Medium
1251 Longest Chunked Palindrome Decomposition Hard
1252 Break a Palindrome Medium
1253 Sort the Matrix Diagonally Medium
1254 Deepest Leaves Sum Medium
1255 Reverse Subarray To Maximize Array Value Hard
1256 Rank Transform of an Array Easy
1258 Article Views I Easy
1259 Article Views II Medium
1260 Day of the Year Easy
1261 Swap For Longest Repeated Character Substring Medium
1262 Online Majority Element In Subarray Hard
1263 Number of Dice Rolls With Target Sum Medium
1267 Remove Zero Sum Consecutive Nodes from Linked List Medium
1268 Market Analysis I Medium
1269 Market Analysis II Hard
1270 Dinner Plate Stacks Hard
1271 Web Crawler Medium
1272 Invalid Transactions Medium
1273 Compare Strings by Frequency of the Smallest Character Easy
1274 Number of Days Between Two Dates Easy
1275 Validate Binary Tree Nodes Medium
1276 Closest Divisors Medium
1277 Largest Multiple of Three Hard
1278 Product Price at a Given Date Medium
1279 Prime Arrangements Easy
1280 Diet Plan Performance Easy
1281 Can Make Palindrome from Substring Medium
1282 Number of Valid Words for Each Puzzle Hard
1285 Balance a Binary Search Tree Medium
1287 Distance Between Bus Stops Easy
1288 Maximum Subarray Sum with One Deletion Medium
1289 Day of the Week Easy
1290 Make Array Strictly Increasing Hard
1291 Immediate Food Delivery I Easy
1292 Immediate Food Delivery II Medium
1297 Maximum Number of Balloons Easy
1298 Reverse Substrings Between Each Pair of Parentheses Medium
1299 K-Concatenation Maximum Sum Medium
1300 Critical Connections in a Network Hard
1301 Reformat Department Table Easy
1306 Minimum Absolute Difference Easy
1307 Ugly Number III Medium
1308 Smallest String With Swaps Medium
1309 Sort Items by Groups Respecting Dependencies Hard
1316 Fizz Buzz Multithreaded Medium
1317 Monthly Transactions I Medium
1318 Tournament Winners Hard
1319 Unique Number of Occurrences Easy
1320 Remove All Adjacent Duplicates in String II Medium
1321 Get Equal Substrings Within Budget Medium
1322 Minimum Moves to Reach Target with Rotations Hard
1327 Last Person to Fit in the Elevator Medium
1328 Monthly Transactions II Medium
1329 Play with Chips Easy
1330 Longest Arithmetic Subsequence of Given Difference Medium
1331 Path with Maximum Gold Medium
1332 Count Vowels Permutation Hard
1337 Design Skiplist Hard
1338 Queries Quality and Percentage Easy
1339 Team Scores in Football Tournament Medium
1340 The Dining Philosophers Medium
1341 Split a String in Balanced Strings Easy
1342 Queens That Can Attack the King Medium
1343 Dice Roll Simulation Medium
1344 Maximum Equal Frequency Hard
1349 Check If It Is a Straight Line Easy
1350 Remove Sub-Folders from the Filesystem Medium
1351 Replace the Substring for Balanced String Medium
1352 Maximum Profit in Job Scheduling Hard
1357 Report Contiguous Dates Hard
1358 Find Positive Integer Solution for a Given Equation Easy
1359 Circular Permutation in Binary Representation Medium
1360 Maximum Length of a Concatenated String with Unique Characters Medium
1361 Tiling a Rectangle with the Fewest Squares Hard
1362 Airplane Seat Assignment Probability Medium
1368 Web Crawler Multithreaded Medium
1369 Minimum Swaps to Make Strings Equal Medium
1370 Count Number of Nice Subarrays Medium
1371 Minimum Remove to Make Valid Parentheses Medium
1372 Check If It Is a Good Array Hard
1377 Number of Comments per Post Easy
1378 Cells with Odd Values in a Matrix Easy
1379 Reconstruct a 2-Row Binary Matrix Medium
1380 Number of Closed Islands Medium
1381 Maximum Score Words Formed by Letters Hard
1386 Shift 2D Grid Easy
1387 Find Elements in a Contaminated Binary Tree Medium
1388 Greatest Sum Divisible by Three Medium
1389 Minimum Moves to Move a Box to Their Target Location Hard
1390 Average Selling Price Easy
1395 Minimum Time Visiting All Points Easy
1396 Count Servers that Communicate Medium
1397 Search Suggestions System Medium
1398 Number of Ways to Stay in the Same Place After Some Steps Hard
1399 Page Recommendations Medium
1400 Find Winner on a Tic Tac Toe Game Easy
1401 Number of Burgers with No Waste of Ingredients Medium
1402 Count Square Submatrices with All Ones Medium
1403 Palindrome Partitioning III Hard
1404 Print Immutable Linked List in Reverse Medium
1405 All People Report to the Given Manager Medium
1406 Subtract the Product and Sum of Digits of an Integer Easy
1407 Group the People Given the Group Size They Belong To Medium
1408 Find the Smallest Divisor Given a Threshold Medium
1409 Minimum Number of Flips to Convert Binary Matrix to Zero Matrix Hard
1410 Traffic Light Controlled Intersection Easy
1411 Convert Binary Number in a Linked List to Integer Easy
1413 Maximum Side Length of a Square with Sum Less than or Equal to Threshold Medium
1414 Shortest Path in a Grid with Obstacles Elimination Hard
1415 Students and Examinations Easy
1420 Find the Start and End Number of Continuous Ranges Medium
1421 Find Numbers with Even Number of Digits Easy
1422 Divide Array in Sets of K Consecutive Numbers Medium
1423 Maximum Number of Occurrences of a Substring Medium
1424 Maximum Candies You Can Get from Boxes Hard
1425 Weather Type in Each Country Easy
1426 Find N Unique Integers Sum up to Zero Easy
1427 All Elements in Two Binary Search Trees Medium
1428 Jump Game III Medium
1429 Verbal Arithmetic Puzzle Hard
1434 Decrypt String from Alphabet to Integer Mapping Easy
1435 XOR Queries of a Subarray Medium
1436 Get Watched Videos by Your Friends Medium
1437 Minimum Insertion Steps to Make a String Palindrome Hard
1438 Find the Team Size Easy
1439 Running Total for Different Genders Medium
1440 Convert Integer to the Sum of Two No-Zero Integers Easy
1441 Minimum Flips to Make a OR b Equal to c Medium
1442 Number of Operations to Make Network Connected Medium
1443 Minimum Distance to Type a Word Using Two Fingers Hard
1444 Number of Steps to Reduce a Number to Zero Easy
1445 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold Medium
1446 Angle Between Hands of a Clock Medium
1447 Jump Game IV Hard
1448 Maximum 69 Number Easy
1449 Print Words Vertically Medium
1450 Delete Leaves With a Given Value Medium
1451 Minimum Number of Taps to Open to Water a Garden Hard
1452 Restaurant Growth Medium
1453 Ads Performance Easy
1454 Remove Palindromic Subsequences Easy
1455 Filter Restaurants by Vegan-Friendly, Price and Distance Medium
1456 Find the City With the Smallest Number of Neighbors at a Threshold Distance Medium
1457 Minimum Difficulty of a Job Schedule Hard
1458 Sort Integers by The Number of 1 Bits Easy
1459 Apply Discount Every n Orders Medium
1460 Number of Substrings Containing All Three Characters Medium
1461 Count All Valid Pickup and Delivery Options Hard
1462 List the Products Ordered in a Period Easy
1463 The K Weakest Rows in a Matrix Easy
1464 Reduce Array Size to The Half Medium
1465 Maximum Product of Splitted Binary Tree Medium
1466 Jump Game V Hard
1467 Number of Transactions per Visit Hard
1468 Check If N and Its Double Exist Easy
1469 Minimum Number of Steps to Make Two Strings Anagram Medium
1470 Tweet Counts Per Frequency Medium
1471 Maximum Students Taking Exam Hard
1472 Increasing Decreasing String Easy
1473 Find the Longest Substring Containing Vowels in Even Counts Medium
1474 Longest ZigZag Path in a Binary Tree Medium
1475 Maximum Sum BST in Binary Tree Hard
1476 Count Negative Numbers in a Sorted Matrix Easy
1477 Product of the Last K Numbers Medium
1478 Maximum Number of Events That Can Be Attended Medium
1479 Construct Target Array With Multiple Sums Hard
1480 Movie Rating Medium
1481 Students With Invalid Departments Easy
1482 How Many Numbers Are Smaller Than the Current Number Easy
1483 Rank Teams by Votes Medium
1484 Linked List in Binary Tree Medium
1485 Minimum Cost to Make at Least One Valid Path in a Grid Hard
1490 Generate a String With Characters That Have Odd Counts Easy
1491 Bulb Switcher III Medium
1492 Time Needed to Inform All Employees Medium
1493 Frog Position After T Seconds Hard
1494 Activity Participants Medium
1495 Number of Trusted Contacts of a Customer Medium
1496 Lucky Numbers in a Matrix Easy
1497 Design a Stack With Increment Operation Medium
1498 Find a Corresponding Node of a Binary Tree in a Clone of That Tree Medium
1499 Maximum Performance of a Team Hard
1504 Get the Second Most Recent Activity Hard
1509 Replace Employee ID With The Unique Identifier Easy