All Classes
-
All Classes Interface Summary Class Summary Class Description Allocator 2502 - Design Memory Allocator.AllOne 432 - All O`one Data Structure.ATM 2241 - Design an ATM Machine.AuthenticationManager 1797 - Design Authentication Manager.Bank 2043 - Simple Bank System.Bitset 2166 - Design Bitset.BookMyShow 2286 - Booking Concert Tickets in Groups.BrowserHistory 1472 - Design Browser History.BSTIterator 173 - Binary Search Tree Iterator.Cashier 1357 - Apply Discount Every n Orders.CBTInserter 919 - Complete Binary Tree Inserter.Codec 297 - Serialize and Deserialize Binary Tree.Codec 449 - Serialize and Deserialize BST.Codec 535 - Encode and Decode TinyURL.CombinationIterator 1286 - Iterator for Combination.CountIntervals 2276 - Count Integers in Intervals.CustomStack 1381 - Design a Stack With Increment Operation.DetectSquares 2013 - Detect Squares.DiningPhilosophers 1226 - The Dining Philosophers.DinnerPlates 1172 - Dinner Plate Stacks.Employee Encrypter 2227 - Encrypt and Decrypt Strings.ExamRoom 855 - Exam Room.Fancy 1622 - Fancy Sequence.FindElements 1261 - Find Elements in a Contaminated Binary Tree.FindSumPairs 1865 - Finding Pairs With a Certain Sum.FizzBuzz 1195 - Fizz Buzz Multithreaded.Foo 1114 - Print in Order.FooBar 1115 - Print FooBar Alternately.FoodRatings 2353 - Design a Food Rating System.FreqStack 895 - Maximum Frequency Stack.FrontMiddleBackQueue 1670 - Design Front Middle Back Queue.H2O 1117 - Building H2O.H2O.HydrogenRunnable H2O.OxygenRunnable KthLargest 703 - Kth Largest Element in a Stream.LFUCache 460 - LFU Cache.ListNode LockingTree 1993 - Operations on Tree.LRUCache 146 - LRU Cache.LUPrefix 2424 - Longest Uploaded Prefix.MagicDictionary 676 - Implement Magic Dictionary.MajorityChecker 1157 - Online Majority Element In Subarray.MapSum 677 - Map Sum Pairs.MedianFinder 295 - Find Median from Data Stream.MinStack 155 - Min Stack.MKAverage 1825 - Finding MK Average.MovieRentingSystem 1912 - Design Movie Rental System.MyCalendar 729 - My Calendar I.MyCalendarThree 732 - My Calendar III.MyCalendarTwo 731 - My Calendar II.MyCircularDeque 641 - Design Circular Deque.MyCircularQueue 622 - Design Circular Queue.MyHashMap 706 - Design HashMap.MyHashSet 705 - Design HashSet.MyLinkedList 707 - Design Linked List.MyQueue 232 - Implement Queue using Stacks.MyStack 225 - Implement Stack using Queues.NestedInteger NestedIterator 341 - Flatten Nested List Iterator.Node Node Node Node 427 - Construct Quad Tree.Node 430 - Flatten a Multilevel Doubly Linked List.Node 558 - Logical OR of Two Binary Grids Represented as Quad-Trees.NumArray 303 - Range Sum Query - Immutable.NumArray 307 - Range Sum Query - Mutable.NumberContainers 2349 - Design a Number Container System.NumMatrix 304 - Range Sum Query 2D - Immutable.OrderedStream 1656 - Design an Ordered Stream.ParkingSystem 1603 - Design Parking System.PeekingIterator 284 - Peeking Iterator.ProductOfNumbers 1352 - Product of the Last K Numbers.RandomizedCollection 381 - Insert Delete GetRandom O(1) - Duplicates allowed.RandomizedSet 380 - Insert Delete GetRandom O(1).RangeFreqQuery 2080 - Range Frequency Queries.RangeModule 715 - Range Module.RecentCounter 933 - Number of Recent Calls.RLEIterator 900 - RLE Iterator.Robot 2069 - Walking Robot Simulation II.SeatManager 1845 - Seat Reservation Manager.Skiplist 1206 - Design Skiplist.SmallestInfiniteSet 2336 - Smallest Number in Infinite Set.SnapshotArray 1146 - Snapshot Array.Solution 1 - Two Sum.Solution 2 - Add Two Numbers.Solution 3 - Longest Substring Without Repeating Characters.Solution 4 - Median of Two Sorted Arrays.Solution 5 - Longest Palindromic Substring.Solution 6 - Zigzag Conversion.Solution 7 - Reverse Integer.Solution 8 - String to Integer (atoi).Solution 9 - Palindrome Number.Solution 10 - Regular Expression Matching.Solution 11 - Container With Most Water.Solution 12 - Integer to Roman.Solution 13 - Roman to Integer.Solution 14 - Longest Common Prefix.Solution 15 - 3Sum.Solution 16 - 3Sum Closest.Solution 17 - Letter Combinations of a Phone Number.Solution 18 - 4Sum.Solution 19 - Remove Nth Node From End of List.Solution 20 - Valid Parentheses.Solution 21 - Merge Two Sorted Lists.Solution 22 - Generate Parentheses.Solution 23 - Merge k Sorted Lists.Solution 24 - Swap Nodes in Pairs.Solution 25 - Reverse Nodes in k-Group.Solution 26 - Remove Duplicates from Sorted Array.Solution 27 - Remove Element.Solution 28 - Implement strStr().Solution 29 - Divide Two Integers.Solution 30 - Substring with Concatenation of All Words.Solution 31 - Next Permutation.Solution 32 - Longest Valid Parentheses.Solution 33 - Search in Rotated Sorted Array.Solution 34 - Find First and Last Position of Element in Sorted Array.Solution 35 - Search Insert Position.Solution 36 - Valid Sudoku.Solution 37 - Sudoku Solver.Solution 38 - Count and Say.Solution 39 - Combination Sum.Solution 40 - Combination Sum II.Solution 41 - First Missing Positive.Solution 42 - Trapping Rain Water.Solution 43 - Multiply Strings.Solution 44 - Wildcard Matching.Solution 45 - Jump Game II.Solution 46 - Permutations.Solution 47 - Permutations II.Solution 48 - Rotate Image.Solution 49 - Group Anagrams.Solution 50 - Pow(x, n).Solution 51 - N-Queens.Solution 52 - N-Queens II.Solution 53 - Maximum Subarray.Solution 54 - Spiral Matrix.Solution 55 - Jump Game.Solution 56 - Merge Intervals.Solution 57 - Insert Interval.Solution 58 - Length of Last Word.Solution 59 - Spiral Matrix II.Solution 60 - Permutation Sequence.Solution 61 - Rotate List.Solution 62 - Unique Paths.Solution 63 - Unique Paths II.Solution 64 - Minimum Path Sum.Solution 65 - Valid Number.Solution 66 - Plus One.Solution 67 - Add Binary.Solution 68 - Text Justification.Solution 69 - Sqrt(x).Solution 70 - Climbing Stairs.Solution 71 - Simplify Path.Solution 72 - Edit Distance.Solution 73 - Set Matrix Zeroes.Solution 74 - Search a 2D Matrix.Solution 75 - Sort Colors.Solution 76 - Minimum Window Substring.Solution 77 - Combinations.Solution 78 - Subsets.Solution 79 - Word Search.Solution 80 - Remove Duplicates from Sorted Array II.Solution 81 - Search in Rotated Sorted Array II.Solution 82 - Remove Duplicates from Sorted List II.Solution 83 - Remove Duplicates from Sorted List.Solution 84 - Largest Rectangle in Histogram.Solution 85 - Maximal Rectangle.Solution 86 - Partition List.Solution 87 - Scramble String.Solution 88 - Merge Sorted Array.Solution 89 - Gray Code.Solution 90 - Subsets II.Solution 91 - Decode Ways.Solution 92 - Reverse Linked List II.Solution 93 - Restore IP Addresses.Solution 94 - Binary Tree Inorder Traversal.Solution 95 - Unique Binary Search Trees II.Solution 96 - Unique Binary Search Trees.Solution 97 - Interleaving String.Solution 98 - Validate Binary Search Tree.Solution 99 - Recover Binary Search Tree.Solution 100 - Same Tree.Solution 101 - Symmetric Tree.Solution 102 - Binary Tree Level Order Traversal.Solution 103 - Binary Tree Zigzag Level Order Traversal.Solution 104 - Maximum Depth of Binary Tree.Solution 105 - Construct Binary Tree from Preorder and Inorder Traversal.Solution 106 - Construct Binary Tree from Inorder and Postorder Traversal.Solution 107 - Binary Tree Level Order Traversal II.Solution 108 - Convert Sorted Array to Binary Search Tree.Solution 109 - Convert Sorted List to Binary Search Tree.Solution 110 - Balanced Binary Tree.Solution 111 - Minimum Depth of Binary Tree.Solution 112 - Path Sum.Solution 113 - Path Sum II.Solution 114 - Flatten Binary Tree to Linked List.Solution 115 - Distinct Subsequences.Solution 116 - Populating Next Right Pointers in Each Node.Solution 117 - Populating Next Right Pointers in Each Node II.Solution 118 - Pascal’s Triangle.Solution 119 - Pascal’s Triangle II.Solution 120 - Triangle.Solution 121 - Best Time to Buy and Sell Stock.Solution 122 - Best Time to Buy and Sell Stock II.Solution 123 - Best Time to Buy and Sell Stock III.Solution 124 - Binary Tree Maximum Path Sum.Solution 125 - Valid Palindrome.Solution 126 - Word Ladder II.Solution 127 - Word Ladder.Solution 128 - Longest Consecutive Sequence.Solution 129 - Sum Root to Leaf Numbers.Solution 130 - Surrounded Regions.Solution 131 - Palindrome Partitioning.Solution 132 - Palindrome Partitioning II.Solution 133 - Clone Graph.Solution 134 - Gas Station.Solution 135 - Candy.Solution 136 - Single Number.Solution 137 - Single Number II.Solution 138 - Copy List with Random Pointer.Solution 139 - Word Break.Solution 140 - Word Break II.Solution 141 - Linked List Cycle.Solution 142 - Linked List Cycle II.Solution 143 - Reorder List.Solution 144 - Binary Tree Preorder Traversal.Solution 145 - Binary Tree Postorder Traversal.Solution 147 - Insertion Sort List.Solution 148 - Sort List.Solution 149 - Max Points on a Line.Solution 150 - Evaluate Reverse Polish Notation.Solution 151 - Reverse Words in a String.Solution 152 - Maximum Product Subarray.Solution 153 - Find Minimum in Rotated Sorted Array.Solution 154 - Find Minimum in Rotated Sorted Array II.Solution 160 - Intersection of Two Linked Lists.Solution 162 - Find Peak Element.Solution 164 - Maximum Gap.Solution 165 - Compare Version Numbers.Solution 166 - Fraction to Recurring Decimal.Solution 167 - Two Sum II - Input Array Is Sorted.Solution 168 - Excel Sheet Column Title.Solution 169 - Majority Element.Solution 171 - Excel Sheet Column Number.Solution 172 - Factorial Trailing Zeroes.Solution 174 - Dungeon Game.Solution 179 - Largest Number.Solution 187 - Repeated DNA Sequences.Solution 188 - Best Time to Buy and Sell Stock IV.Solution 189 - Rotate Array.Solution 190 - Reverse Bits.Solution 191 - Number of 1 Bits.Solution 198 - House Robber.Solution 199 - Binary Tree Right Side View.Solution 200 - Number of Islands.Solution 201 - Bitwise AND of Numbers Range.Solution 202 - Happy Number.Solution 203 - Remove Linked List Elements.Solution 204 - Count Primes.Solution 205 - Isomorphic Strings.Solution 206 - Reverse Linked List.Solution 207 - Course Schedule.Solution 209 - Minimum Size Subarray Sum.Solution 210 - Course Schedule II.Solution 212 - Word Search II.Solution 213 - House Robber II.Solution 214 - Shortest Palindrome.Solution 215 - Kth Largest Element in an Array.Solution 216 - Combination Sum III.Solution 217 - Contains Duplicate.Solution 218 - The Skyline Problem.Solution 219 - Contains Duplicate II.Solution 220 - Contains Duplicate III.Solution 221 - Maximal Square.Solution 222 - Count Complete Tree Nodes.Solution 223 - Rectangle Area.Solution 224 - Basic Calculator.Solution 226 - Invert Binary Tree.Solution 227 - Basic Calculator II.Solution 228 - Summary Ranges.Solution 229 - Majority Element II.Solution 230 - Kth Smallest Element in a BST.Solution 231 - Power of Two.Solution 233 - Number of Digit One.Solution 234 - Palindrome Linked List.Solution 235 - Lowest Common Ancestor of a Binary Search Tree.Solution 236 - Lowest Common Ancestor of a Binary Tree.Solution 237 - Delete Node in a Linked List.Solution 238 - Product of Array Except Self.Solution 239 - Sliding Window Maximum.Solution 240 - Search a 2D Matrix II.Solution 241 - Different Ways to Add Parentheses.Solution 242 - Valid Anagram.Solution 257 - Binary Tree Paths.Solution 258 - Add Digits.Solution 260 - Single Number III.Solution 263 - Ugly Number.Solution 264 - Ugly Number II.Solution 268 - Missing Number.Solution 273 - Integer to English Words.Solution 274 - H-Index.Solution 275 - H-Index II.Solution 278 - First Bad Version.Solution 279 - Perfect Squares.Solution 282 - Expression Add Operators.Solution 283 - Move Zeroes.Solution 287 - Find the Duplicate Number.Solution 289 - Game of Life.Solution 290 - Word Pattern.Solution 292 - Nim Game.Solution 299 - Bulls and Cows.Solution 300 - Longest Increasing Subsequence.Solution 301 - Remove Invalid Parentheses.Solution 306 - Additive Number.Solution 309 - Best Time to Buy and Sell Stock with Cooldown.Solution 310 - Minimum Height Trees.Solution 312 - Burst Balloons.Solution 313 - Super Ugly Number.Solution 315 - Count of Smaller Numbers After Self.Solution 316 - Remove Duplicate Letters.Solution 318 - Maximum Product of Word Lengths.Solution 319 - Bulb Switcher.Solution 321 - Create Maximum Number.Solution 322 - Coin Change.Solution 324 - Wiggle Sort II.Solution 326 - Power of Three.Solution 327 - Count of Range Sum.Solution 328 - Odd Even Linked List.Solution 329 - Longest Increasing Path in a Matrix.Solution 330 - Patching Array.Solution 331 - Verify Preorder Serialization of a Binary Tree.Solution 332 - Reconstruct Itinerary.Solution 334 - Increasing Triplet Subsequence.Solution 335 - Self Crossing.Solution 336 - Palindrome Pairs.Solution 337 - House Robber III.Solution 338 - Counting Bits.Solution 342 - Power of Four.Solution 343 - Integer Break.Solution 344 - Reverse String.Solution 345 - Reverse Vowels of a String.Solution 347 - Top K Frequent Elements.Solution 349 - Intersection of Two Arrays.Solution 350 - Intersection of Two Arrays II.Solution 354 - Russian Doll Envelopes.Solution 357 - Count Numbers with Unique Digits.Solution 363 - Max Sum of Rectangle No Larger Than K.Solution 365 - Water and Jug Problem.Solution 367 - Valid Perfect Square.Solution 368 - Largest Divisible Subset.Solution 371 - Sum of Two Integers.Solution 372 - Super Pow.Solution 373 - Find K Pairs with Smallest Sums.Solution 374 - Guess Number Higher or Lower.Solution 375 - Guess Number Higher or Lower II.Solution 376 - Wiggle Subsequence.Solution 377 - Combination Sum IV.Solution 378 - Kth Smallest Element in a Sorted Matrix.Solution 382 - Linked List Random Node.Solution 383 - Ransom Note.Solution 384 - Shuffle an Array.Solution 385 - Mini Parser.Solution 386 - Lexicographical Numbers.Solution 387 - First Unique Character in a String.Solution 388 - Longest Absolute File Path.Solution 389 - Find the Difference.Solution 390 - Elimination Game.Solution 391 - Perfect Rectangle.Solution 392 - Is Subsequence.Solution 393 - UTF-8 Validation.Solution 394 - Decode String.Solution 395 - Longest Substring with At Least K Repeating Characters.Solution 396 - Rotate Function.Solution 397 - Integer Replacement.Solution 398 - Random Pick Index.Solution 399 - Evaluate Division.Solution 400 - Nth Digit.Solution 401 - Binary Watch.Solution 402 - Remove K Digits.Solution 403 - Frog Jump.Solution 404 - Sum of Left Leaves.Solution 405 - Convert a Number to Hexadecimal.Solution 406 - Queue Reconstruction by Height.Solution 407 - Trapping Rain Water II.Solution 409 - Longest Palindrome.Solution 410 - Split Array Largest Sum.Solution 412 - Fizz Buzz.Solution 413 - Arithmetic Slices.Solution 414 - Third Maximum Number.Solution 415 - Add Strings.Solution 416 - Partition Equal Subset Sum.Solution 417 - Pacific Atlantic Water Flow.Solution 419 - Battleships in a Board.Solution 420 - Strong Password Checker.Solution 421 - Maximum XOR of Two Numbers in an Array.Solution 423 - Reconstruct Original Digits from English.Solution 424 - Longest Repeating Character Replacement.Solution 427 - Construct Quad Tree.Solution 429 - N-ary Tree Level Order Traversal.Solution 430 - Flatten a Multilevel Doubly Linked List.Solution 433 - Minimum Genetic Mutation.Solution 434 - Number of Segments in a String.Solution 435 - Non-overlapping Intervals.Solution 436 - Find Right Interval.Solution 437 - Path Sum III.Solution 438 - Find All Anagrams in a String.Solution 440 - K-th Smallest in Lexicographical Order.Solution 441 - Arranging Coins.Solution 442 - Find All Duplicates in an Array.Solution 443 - String Compression.Solution 445 - Add Two Numbers II.Solution 446 - Arithmetic Slices II - Subsequence.Solution 447 - Number of Boomerangs.Solution 448 - Find All Numbers Disappeared in an Array.Solution 450 - Delete Node in a BST.Solution 451 - Sort Characters By Frequency.Solution 452 - Minimum Number of Arrows to Burst Balloons.Solution 453 - Minimum Moves to Equal Array Elements.Solution 454 - 4Sum II.Solution 455 - Assign Cookies.Solution 456 - 132 Pattern.Solution 457 - Circular Array Loop.Solution 458 - Poor Pigs.Solution 459 - Repeated Substring Pattern.Solution 461 - Hamming Distance.Solution 462 - Minimum Moves to Equal Array Elements II.Solution 463 - Island Perimeter.Solution 464 - Can I Win.Solution 466 - Count The Repetitions.Solution 467 - Unique Substrings in Wraparound String.Solution 468 - Validate IP Address.Solution 470 - Implement Rand10() Using Rand7().Solution 472 - Concatenated Words.Solution 473 - Matchsticks to Square.Solution 474 - Ones and Zeroes.Solution 475 - Heaters.Solution 476 - Number Complement.Solution 477 - Total Hamming Distance.Solution 478 - Generate Random Point in a Circle.Solution 479 - Largest Palindrome Product.Solution 480 - Sliding Window Median.Solution 481 - Magical String.Solution 482 - License Key Formatting.Solution 483 - Smallest Good Base.Solution 485 - Max Consecutive Ones.Solution 486 - Predict the Winner.Solution 488 - Zuma Game.Solution 491 - Increasing Subsequences.Solution 492 - Construct the Rectangle.Solution 493 - Reverse Pairs.Solution 494 - Target Sum.Solution 495 - Teemo Attacking.Solution 496 - Next Greater Element I.Solution 497 - Random Point in Non-overlapping Rectangles.Solution 498 - Diagonal Traverse.Solution 500 - Keyboard Row.Solution 501 - Find Mode in Binary Search Tree.Solution 502 - IPO.Solution 503 - Next Greater Element II.Solution 504 - Base 7.Solution 506 - Relative Ranks.Solution 507 - Perfect Number.Solution 508 - Most Frequent Subtree Sum.Solution 509 - Fibonacci Number.Solution 513 - Find Bottom Left Tree Value.Solution 514 - Freedom Trail.Solution 515 - Find Largest Value in Each Tree Row.Solution 516 - Longest Palindromic Subsequence.Solution 517 - Super Washing Machines.Solution 518 - Coin Change 2.Solution 519 - Random Flip Matrix.Solution 520 - Detect Capital.Solution 521 - Longest Uncommon Subsequence I.Solution 522 - Longest Uncommon Subsequence II.Solution 523 - Continuous Subarray Sum.Solution 524 - Longest Word in Dictionary through Deleting.Solution 525 - Contiguous Array.Solution 526 - Beautiful Arrangement.Solution 528 - Random Pick with Weight.Solution 529 - Minesweeper.Solution 530 - Minimum Absolute Difference in BST.Solution 532 - K-diff Pairs in an Array.Solution 537 - Complex Number Multiplication.Solution 538 - Convert BST to Greater Tree.Solution 539 - Minimum Time Difference.Solution 540 - Single Element in a Sorted Array.Solution 541 - Reverse String II.Solution 542 - 01 Matrix.Solution 543 - Diameter of Binary Tree.Solution 546 - Remove Boxes.Solution 547 - Number of Provinces.Solution 551 - Student Attendance Record I.Solution 552 - Student Attendance Record II.Solution 553 - Optimal Division.Solution 554 - Brick Wall.Solution 556 - Next Greater Element III.Solution 557 - Reverse Words in a String III.Solution 558 - Logical OR of Two Binary Grids Represented as Quad-Trees.Solution 559 - Maximum Depth of N-ary Tree.Solution 560 - Subarray Sum Equals K.Solution 561 - Array Partition I.Solution 563 - Binary Tree Tilt.Solution 564 - Find the Closest Palindrome.Solution 565 - Array Nesting.Solution 566 - Reshape the Matrix.Solution 567 - Permutation in String.Solution 572 - Subtree of Another Tree.Solution 575 - Distribute Candies.Solution 576 - Out of Boundary Paths.Solution 581 - Shortest Unsorted Continuous Subarray.Solution 583 - Delete Operation for Two Strings.Solution 587 - Erect the Fence.Solution 589 - N-ary Tree Preorder Traversal.Solution 590 - N-ary Tree Postorder Traversal.Solution 591 - Tag Validator.Solution 592 - Fraction Addition and Subtraction.Solution 593 - Valid Square.Solution 594 - Longest Harmonious Subsequence.Solution 598 - Range Addition II.Solution 599 - Minimum Index Sum of Two Lists.Solution 600 - Non-negative Integers without Consecutive Ones.Solution 605 - Can Place Flowers.Solution 606 - Construct String from Binary Tree.Solution 609 - Find Duplicate File in System.Solution 611 - Valid Triangle Number.Solution 617 - Merge Two Binary Trees.Solution 621 - Task Scheduler.Solution 623 - Add One Row to Tree.Solution 628 - Maximum Product of Three Numbers.Solution 629 - K Inverse Pairs Array.Solution 630 - Course Schedule III.Solution Solution 633 - Sum of Square Numbers.Solution 636 - Exclusive Time of Functions.Solution 637 - Average of Levels in Binary Tree.Solution 638 - Shopping Offers.Solution 639 - Decode Ways II.Solution 640 - Solve the Equation.Solution 643 - Maximum Average Subarray I.Solution 645 - Set Mismatch.Solution 646 - Maximum Length of Pair Chain.Solution 647 - Palindromic Substrings.Solution 648 - Replace Words.Solution 649 - Dota2 Senate.Solution 650 - 2 Keys Keyboard.Solution 652 - Find Duplicate Subtrees.Solution 653 - Two Sum IV - Input is a BST.Solution 654 - Maximum Binary Tree.Solution 655 - Print Binary Tree.Solution 657 - Robot Return to Origin.Solution 658 - Find K Closest Elements.Solution 659 - Split Array into Consecutive Subsequences.Solution 661 - Image Smoother.Solution 662 - Maximum Width of Binary Tree.Solution 664 - Strange Printer.Solution 665 - Non-decreasing Array.Solution 667 - Beautiful Arrangement II.Solution 668 - Kth Smallest Number in Multiplication Table.Solution 669 - Trim a Binary Search Tree.Solution 670 - Maximum Swap.Solution 671 - Second Minimum Node In a Binary Tree.Solution 672 - Bulb Switcher II.Solution 673 - Number of Longest Increasing Subsequence.Solution 674 - Longest Continuous Increasing Subsequence.Solution 675 - Cut Off Trees for Golf Event.Solution 678 - Valid Parenthesis String.Solution 679 - 24 Game.Solution 680 - Valid Palindrome II.Solution 682 - Baseball Game.Solution 684 - Redundant Connection.Solution 685 - Redundant Connection II.Solution 686 - Repeated String Match.Solution 687 - Longest Univalue Path.Solution 688 - Knight Probability in Chessboard.Solution 689 - Maximum Sum of 3 Non-Overlapping Subarrays.Solution 690 - Employee Importance.Solution 691 - Stickers to Spell Word.Solution 692 - Top K Frequent Words.Solution 693 - Binary Number with Alternating Bits.Solution 695 - Max Area of Island.Solution 696 - Count Binary Substrings.Solution 697 - Degree of an Array.Solution 698 - Partition to K Equal Sum Subsets.Solution 699 - Falling Squares.Solution 700 - Search in a Binary Search Tree.Solution 701 - Insert into a Binary Search Tree.Solution 704 - Binary Search.Solution 709 - To Lower Case.Solution 710 - Random Pick with Blacklist.Solution 712 - Minimum ASCII Delete Sum for Two Strings.Solution 713 - Subarray Product Less Than K.Solution 714 - Best Time to Buy and Sell Stock with Transaction Fee.Solution 717 - 1-bit and 2-bit Characters.Solution 718 - Maximum Length of Repeated Subarray.Solution 719 - Find K-th Smallest Pair Distance.Solution 720 - Longest Word in Dictionary.Solution 721 - Accounts Merge.Solution 722 - Remove Comments.Solution 724 - Find Pivot Index.Solution 725 - Split Linked List in Parts.Solution 726 - Number of Atoms.Solution 728 - Self Dividing Numbers.Solution 730 - Count Different Palindromic Subsequences.Solution 733 - Flood Fill.Solution 735 - Asteroid Collision.Solution 736 - Parse Lisp Expression.Solution 738 - Monotone Increasing Digits.Solution 739 - Daily Temperatures.Solution 740 - Delete and Earn.Solution 741 - Cherry Pickup.Solution 743 - Network Delay Time.Solution 744 - Find Smallest Letter Greater Than Target.Solution 746 - Min Cost Climbing Stairs.Solution 747 - Largest Number At Least Twice of Others.Solution 748 - Shortest Completing Word.Solution 749 - Contain Virus.Solution 752 - Open the Lock.Solution 753 - Cracking the Safe.Solution 754 - Reach a Number.Solution 756 - Pyramid Transition Matrix.Solution 757 - Set Intersection Size At Least Two.Solution 761 - Special Binary String.Solution 762 - Prime Number of Set Bits in Binary Representation.Solution 763 - Partition Labels.Solution 764 - Largest Plus Sign.Solution 765 - Couples Holding Hands.Solution 766 - Toeplitz Matrix.Solution 767 - Reorganize String.Solution 768 - Max Chunks To Make Sorted II.Solution 769 - Max Chunks To Make Sorted.Solution 770 - Basic Calculator IV.Solution 771 - Jewels and Stones.Solution 773 - Sliding Puzzle.Solution 775 - Global and Local Inversions.Solution 777 - Swap Adjacent in LR String.Solution 778 - Swim in Rising Water.Solution 779 - K-th Symbol in Grammar.Solution 780 - Reaching Points.Solution 781 - Rabbits in Forest.Solution 782 - Transform to Chessboard.Solution 783 - Minimum Distance Between BST Nodes.Solution 784 - Letter Case Permutation.Solution 785 - Is Graph Bipartite?Solution 786 - K-th Smallest Prime Fraction.Solution 787 - Cheapest Flights Within K Stops.Solution 788 - Rotated Digits.Solution 789 - Escape The Ghosts.Solution 790 - Domino and Tromino Tiling.Solution 791 - Custom Sort String.Solution 792 - Number of Matching Subsequences.Solution 793 - Preimage Size of Factorial Zeroes Function.Solution 794 - Valid Tic-Tac-Toe State.Solution 795 - Number of Subarrays with Bounded Maximum.Solution 796 - Rotate String.Solution 797 - All Paths From Source to Target.Solution 798 - Smallest Rotation with Highest Score.Solution 799 - Champagne Tower.Solution 801 - Minimum Swaps To Make Sequences Increasing.Solution 802 - Find Eventual Safe States.Solution 803 - Bricks Falling When Hit.Solution 804 - Unique Morse Code Words.Solution 805 - Split Array With Same Average.Solution 806 - Number of Lines To Write String.Solution 807 - Max Increase to Keep City Skyline.Solution 808 - Soup Servings.Solution 809 - Expressive Words.Solution 810 - Chalkboard XOR Game.Solution 811 - Subdomain Visit Count.Solution 812 - Largest Triangle Area.Solution 813 - Largest Sum of Averages.Solution 814 - Binary Tree Pruning.Solution 815 - Bus Routes.Solution 816 - Ambiguous Coordinates.Solution 817 - Linked List Components.Solution 818 - Race Car.Solution 819 - Most Common Word.Solution 820 - Short Encoding of Words.Solution 821 - Shortest Distance to a Character.Solution 822 - Card Flipping Game.Solution 823 - Binary Trees With Factors.Solution 824 - Goat Latin.Solution 825 - Friends Of Appropriate Ages.Solution 826 - Most Profit Assigning Work.Solution 827 - Making A Large Island.Solution 828 - Count Unique Characters of All Substrings of a Given String.Solution 829 - Consecutive Numbers Sum.Solution 830 - Positions of Large Groups.Solution 831 - Masking Personal Information.Solution 832 - Flipping an Image.Solution 833 - Find And Replace in String.Solution 834 - Sum of Distances in Tree.Solution 835 - Image Overlap.Solution 836 - Rectangle Overlap.Solution 837 - New 21 Game.Solution 838 - Push Dominoes.Solution 839 - Similar String Groups.Solution 840 - Magic Squares In Grid.Solution 841 - Keys and Rooms.Solution 842 - Split Array into Fibonacci Sequence.Solution 843 - Guess the Word.Solution 844 - Backspace String Compare.Solution 845 - Longest Mountain in Array.Solution 846 - Hand of Straights.Solution 847 - Shortest Path Visiting All Nodes.Solution 848 - Shifting Letters.Solution 849 - Maximize Distance to Closest Person.Solution 850 - Rectangle Area II.Solution 851 - Loud and Rich.Solution 852 - Peak Index in a Mountain Array.Solution 853 - Car Fleet.Solution 854 - K-Similar Strings.Solution 856 - Score of Parentheses.Solution 857 - Minimum Cost to Hire K Workers.Solution 858 - Mirror Reflection.Solution 859 - Buddy Strings.Solution 860 - Lemonade Change.Solution 861 - Score After Flipping Matrix.Solution 862 - Shortest Subarray with Sum at Least K.Solution 863 - All Nodes Distance K in Binary Tree.Solution 864 - Shortest Path to Get All Keys.Solution 865 - Smallest Subtree with all the Deepest Nodes.Solution 866 - Prime Palindrome.Solution 867 - Transpose Matrix.Solution 868 - Binary Gap.Solution 869 - Reordered Power of 2.Solution 870 - Advantage Shuffle.Solution 871 - Minimum Number of Refueling Stops.Solution 872 - Leaf-Similar Trees.Solution 873 - Length of Longest Fibonacci Subsequence.Solution 874 - Walking Robot Simulation.Solution 875 - Koko Eating Bananas.Solution 876 - Middle of the Linked List.Solution 877 - Stone Game.Solution 878 - Nth Magical Number.Solution 879 - Profitable Schemes.Solution 880 - Decoded String at Index.Solution 881 - Boats to Save People.Solution 882 - Reachable Nodes In Subdivided Graph.Solution 883 - Projection Area of 3D Shapes.Solution 884 - Uncommon Words from Two Sentences.Solution 885 - Spiral Matrix III.Solution 886 - Possible Bipartition.Solution 887 - Super Egg Drop.Solution 888 - Fair Candy Swap.Solution 889 - Construct Binary Tree from Preorder and Postorder Traversal.Solution 890 - Find and Replace Pattern.Solution 891 - Sum of Subsequence Widths.Solution 892 - Surface Area of 3D Shapes.Solution 893 - Groups of Special-Equivalent Strings.Solution 896 - Monotonic Array.Solution 897 - Increasing Order Search Tree.Solution 898 - Bitwise ORs of Subarrays.Solution 899 - Orderly Queue.Solution 902 - Numbers At Most N Given Digit Set.Solution 903 - Valid Permutations for DI Sequence.Solution 904 - Fruit Into Baskets.Solution 905 - Sort Array By Parity.Solution 906 - Super Palindromes.Solution 907 - Sum of Subarray Minimums.Solution 908 - Smallest Range I.Solution 909 - Snakes and Ladders.Solution 910 - Smallest Range II.Solution 912 - Sort an Array.Solution 913 - Cat and Mouse.Solution 914 - X of a Kind in a Deck of Cards.Solution 915 - Partition Array into Disjoint Intervals.Solution 916 - Word Subsets.Solution 917 - Reverse Only Letters.Solution 918 - Maximum Sum Circular Subarray.Solution 920 - Number of Music Playlists.Solution 921 - Minimum Add to Make Parentheses Valid.Solution 922 - Sort Array By Parity II.Solution 923 - 3Sum With Multiplicity.Solution 924 - Minimize Malware Spread.Solution 925 - Long Pressed Name.Solution 926 - Flip String to Monotone Increasing.Solution 927 - Three Equal Parts.Solution 928 - Minimize Malware Spread II.Solution 929 - Unique Email Addresses.Solution 930 - Binary Subarrays With Sum.Solution 931 - Minimum Falling Path Sum.Solution 932 - Beautiful Array.Solution 934 - Shortest Bridge.Solution 935 - Knight Dialer.Solution 936 - Stamping The Sequence.Solution 937 - Reorder Data in Log Files.Solution 938 - Range Sum of BST.Solution 939 - Minimum Area Rectangle.Solution 940 - Distinct Subsequences II.Solution 941 - Valid Mountain Array.Solution 942 - DI String Match.Solution 943 - Find the Shortest Superstring.Solution 944 - Delete Columns to Make Sorted.Solution 945 - Minimum Increment to Make Array Unique.Solution 946 - Validate Stack Sequences.Solution 947 - Most Stones Removed with Same Row or Column.Solution 948 - Bag of Tokens.Solution 949 - Largest Time for Given Digits.Solution 950 - Reveal Cards In Increasing Order.Solution 951 - Flip Equivalent Binary Trees.Solution 952 - Largest Component Size by Common Factor.Solution 953 - Verifying an Alien Dictionary.Solution 954 - Array of Doubled Pairs.Solution 955 - Delete Columns to Make Sorted II.Solution 956 - Tallest Billboard.Solution 957 - Prison Cells After N Days.Solution 958 - Check Completeness of a Binary Tree.Solution 959 - Regions Cut By Slashes.Solution 960 - Delete Columns to Make Sorted III.Solution 961 - N-Repeated Element in Size 2N Array.Solution 962 - Maximum Width Ramp.Solution 963 - Minimum Area Rectangle II.Solution 964 - Least Operators to Express Number.Solution 965 - Univalued Binary Tree.Solution 966 - Vowel Spellchecker.Solution 967 - Numbers With Same Consecutive Differences.Solution 968 - Binary Tree Cameras.Solution 969 - Pancake Sorting.Solution 970 - Powerful Integers.Solution 971 - Flip Binary Tree To Match Preorder Traversal.Solution 972 - Equal Rational Numbers.Solution 973 - K Closest Points to Origin.Solution 974 - Subarray Sums Divisible by K.Solution 975 - Odd Even Jump.Solution 976 - Largest Perimeter Triangle.Solution 977 - Squares of a Sorted Array.Solution 978 - Longest Turbulent Subarray.Solution 979 - Distribute Coins in Binary Tree.Solution 980 - Unique Paths III.Solution 982 - Triples with Bitwise AND Equal To Zero.Solution 983 - Minimum Cost For Tickets.Solution 984 - String Without AAA or BBB.Solution 985 - Sum of Even Numbers After Queries.Solution 986 - Interval List Intersections.Solution 987 - Vertical Order Traversal of a Binary Tree.Solution 988 - Smallest String Starting From Leaf.Solution 989 - Add to Array-Form of Integer.Solution 990 - Satisfiability of Equality Equations.Solution 991 - Broken Calculator.Solution 992 - Subarrays with K Different Integers.Solution 993 - Cousins in Binary Tree.Solution 994 - Rotting Oranges.Solution 995 - Minimum Number of K Consecutive Bit Flips.Solution 996 - Number of Squareful Arrays.Solution 997 - Find the Town Judge.Solution 998 - Maximum Binary Tree II.Solution 999 - Available Captures for Rook.Solution 1000 - Minimum Cost to Merge Stones.Solution 1001 - Grid Illumination.Solution 1002 - Find Common Characters.Solution 1003 - Check If Word Is Valid After Substitutions.Solution 1004 - Max Consecutive Ones III.Solution 1005 - Maximize Sum Of Array After K Negations.Solution 1006 - Clumsy Factorial.Solution 1007 - Minimum Domino Rotations For Equal Row.Solution 1008 - Construct Binary Search Tree from Preorder Traversal.Solution 1009 - Complement of Base 10 Integer.Solution 1010 - Pairs of Songs With Total Durations Divisible by 60.Solution 1011 - Capacity To Ship Packages Within D Days.Solution 1012 - Numbers With Repeated Digits.Solution 1013 - Partition Array Into Three Parts With Equal Sum.Solution 1014 - Best Sightseeing Pair.Solution 1015 - Smallest Integer Divisible by K.Solution 1016 - Binary String With Substrings Representing 1 To N.Solution 1017 - Convert to Base -2.Solution 1018 - Binary Prefix Divisible By 5.Solution 1019 - Next Greater Node In Linked List.Solution 1020 - Number of Enclaves.Solution 1021 - Remove Outermost Parentheses.Solution 1022 - Sum of Root To Leaf Binary Numbers.Solution 1023 - Camelcase Matching.Solution 1024 - Video Stitching.Solution 1025 - Divisor Game.Solution 1026 - Maximum Difference Between Node and Ancestor.Solution 1027 - Longest Arithmetic Subsequence.Solution 1028 - Recover a Tree From Preorder Traversal.Solution 1029 - Two City Scheduling.Solution 1030 - Matrix Cells in Distance Order.Solution 1031 - Maximum Sum of Two Non-Overlapping Subarrays.Solution 1033 - Moving Stones Until Consecutive.Solution 1034 - Coloring A Border.Solution 1035 - Uncrossed Lines.Solution 1036 - Escape a Large Maze.Solution 1037 - Valid Boomerang.Solution 1038 - Binary Search Tree to Greater Sum Tree.Solution 1039 - Minimum Score Triangulation of Polygon.Solution 1040 - Moving Stones Until Consecutive II.Solution 1041 - Robot Bounded In Circle.Solution 1042 - Flower Planting With No Adjacent.Solution 1043 - Partition Array for Maximum Sum.Solution 1044 - Longest Duplicate Substring.Solution 1046 - Last Stone Weight.Solution 1047 - Remove All Adjacent Duplicates In String.Solution 1048 - Longest String Chain.Solution 1049 - Last Stone Weight II.Solution 1051 - Height Checker.Solution 1052 - Grumpy Bookstore Owner.Solution 1053 - Previous Permutation With One Swap.Solution 1054 - Distant Barcodes.Solution 1071 - Greatest Common Divisor of Strings.Solution 1072 - Flip Columns For Maximum Number of Equal Rows.Solution 1073 - Adding Two Negabinary Numbers.Solution 1074 - Number of Submatrices That Sum to Target.Solution 1078 - Occurrences After Bigram.Solution 1079 - Letter Tile Possibilities.Solution 1080 - Insufficient Nodes in Root to Leaf Paths.Solution 1081 - Smallest Subsequence of Distinct Characters.Solution 1089 - Duplicate Zeros.Solution 1090 - Largest Values From Labels.Solution 1091 - Shortest Path in Binary Matrix.Solution 1092 - Shortest Common Supersequence.Solution 1093 - Statistics from a Large Sample.Solution 1094 - Car Pooling.Solution 1095 - Find in Mountain Array.Solution 1096 - Brace Expansion II.Solution 1103 - Distribute Candies to People.Solution 1104 - Path In Zigzag Labelled Binary Tree.Solution 1105 - Filling Bookcase Shelves.Solution 1106 - Parsing A Boolean Expression.Solution 1108 - Defanging an IP Address.Solution 1109 - Corporate Flight Bookings.Solution 1110 - Delete Nodes And Return Forest.Solution 1111 - Maximum Nesting Depth of Two Valid Parentheses Strings.Solution 1122 - Relative Sort Array.Solution 1123 - Lowest Common Ancestor of Deepest Leaves.Solution 1124 - Longest Well-Performing Interval.Solution 1125 - Smallest Sufficient Team.Solution 1128 - Number of Equivalent Domino Pairs.Solution 1129 - Shortest Path with Alternating Colors.Solution 1130 - Minimum Cost Tree From Leaf Values.Solution 1131 - Maximum of Absolute Value Expression.Solution 1137 - N-th Tribonacci Number.Solution 1138 - Alphabet Board Path.Solution 1139 - Largest 1-Bordered Square.Solution 1140 - Stone Game II.Solution 1143 - Longest Common Subsequence.Solution 1144 - Decrease Elements To Make Array Zigzag.Solution 1145 - Binary Tree Coloring Game.Solution 1147 - Longest Chunked Palindrome Decomposition.Solution 1154 - Day of the Year.Solution 1155 - Number of Dice Rolls With Target Sum.Solution 1156 - Swap For Longest Repeated Character Substring.Solution 1160 - Find Words That Can Be Formed by Characters.Solution 1161 - Maximum Level Sum of a Binary Tree.Solution 1162 - As Far from Land as Possible.Solution 1163 - Last Substring in Lexicographical Order.Solution 1169 - Invalid Transactions.Solution 1170 - Compare Strings by Frequency of the Smallest Character.Solution 1171 - Remove Zero Sum Consecutive Nodes from Linked List.Solution 1175 - Prime Arrangements.Solution 1177 - Can Make Palindrome from Substring.Solution 1178 - Number of Valid Words for Each Puzzle.Solution 1184 - Distance Between Bus Stops.Solution 1185 - Day of the Week.Solution 1186 - Maximum Subarray Sum with One Deletion.Solution 1187 - Make Array Strictly Increasing.Solution 1189 - Maximum Number of Balloons.Solution 1190 - Reverse Substrings Between Each Pair of Parentheses.Solution 1191 - K-Concatenation Maximum Sum.Solution 1192 - Critical Connections in a Network.Solution 1200 - Minimum Absolute Difference.Solution 1201 - Ugly Number III.Solution 1202 - Smallest String With Swaps.Solution 1203 - Sort Items by Groups Respecting Dependencies.Solution 1207 - Unique Number of Occurrences.Solution 1208 - Get Equal Substrings Within Budget.Solution 1209 - Remove All Adjacent Duplicates in String II.Solution 1210 - Minimum Moves to Reach Target with Rotations.Solution 1217 - Minimum Cost to Move Chips to The Same Position.Solution 1218 - Longest Arithmetic Subsequence of Given Difference.Solution 1219 - Path with Maximum Gold.Solution 1220 - Count Vowels Permutation.Solution 1221 - Split a String in Balanced Strings.Solution 1222 - Queens That Can Attack the King.Solution 1223 - Dice Roll Simulation.Solution 1224 - Maximum Equal Frequency.Solution 1227 - Airplane Seat Assignment Probability.Solution 1232 - Check If It Is a Straight Line.Solution 1233 - Remove Sub-Folders from the Filesystem.Solution 1234 - Replace the Substring for Balanced String.Solution 1235 - Maximum Profit in Job Scheduling.Solution 1237 - Find Positive Integer Solution for a Given Equation.Solution 1238 - Circular Permutation in Binary Representation.Solution 1239 - Maximum Length of a Concatenated String with Unique Characters.Solution 1240 - Tiling a Rectangle with the Fewest Squares.Solution 1247 - Minimum Swaps to Make Strings Equal.Solution 1248 - Count Number of Nice Subarrays.Solution 1249 - Minimum Remove to Make Valid Parentheses.Solution 1250 - Check If It Is a Good Array.Solution 1252 - Cells with Odd Values in a Matrix.Solution 1253 - Reconstruct a 2-Row Binary Matrix.Solution 1254 - Number of Closed Islands.Solution 1255 - Maximum Score Words Formed by Letters.Solution 1260 - Shift 2D Grid.Solution 1262 - Greatest Sum Divisible by Three.Solution 1263 - Minimum Moves to Move a Box to Their Target Location.Solution 1266 - Minimum Time Visiting All Points.Solution 1267 - Count Servers that Communicate.Solution 1268 - Search Suggestions System.Solution 1269 - Number of Ways to Stay in the Same Place After Some Steps.Solution 1275 - Find Winner on a Tic Tac Toe Game.Solution 1276 - Number of Burgers with No Waste of Ingredients.Solution 1277 - Count Square Submatrices with All Ones.Solution 1278 - Palindrome Partitioning III.Solution 1281 - Subtract the Product and Sum of Digits of an Integer.Solution 1282 - Group the People Given the Group Size They Belong To.Solution 1283 - Find the Smallest Divisor Given a Threshold.Solution 1284 - Minimum Number of Flips to Convert Binary Matrix to Zero Matrix.Solution 1287 - Element Appearing More Than 25% In Sorted Array.Solution 1288 - Remove Covered Intervals.Solution 1289 - Minimum Falling Path Sum II.Solution 1290 - Convert Binary Number in a Linked List to Integer.Solution 1291 - Sequential Digits.Solution 1292 - Maximum Side Length of a Square with Sum Less than or Equal to Threshold.Solution 1293 - Shortest Path in a Grid with Obstacles Elimination.Solution 1295 - Find Numbers with Even Number of Digits.Solution 1296 - Divide Array in Sets of K Consecutive Numbers.Solution 1297 - Maximum Number of Occurrences of a Substring.Solution 1298 - Maximum Candies You Can Get from Boxes.Solution 1299 - Replace Elements with Greatest Element on Right Side.Solution 1300 - Sum of Mutated Array Closest to Target.Solution 1301 - Number of Paths with Max Score.Solution 1302 - Deepest Leaves Sum.Solution 1304 - Find N Unique Integers Sum up to Zero.Solution 1305 - All Elements in Two Binary Search Trees.Solution 1306 - Jump Game III.Solution 1307 - Verbal Arithmetic Puzzle.Solution 1309 - Decrypt String from Alphabet to Integer Mapping.Solution 1310 - XOR Queries of a Subarray.Solution 1311 - Get Watched Videos by Your Friends.Solution 1312 - Minimum Insertion Steps to Make a String Palindrome.Solution 1313 - Decompress Run-Length Encoded List.Solution 1314 - Matrix Block Sum.Solution 1315 - Sum of Nodes with Even-Valued Grandparent.Solution 1316 - Distinct Echo Substrings.Solution 1317 - Convert Integer to the Sum of Two No-Zero Integers.Solution 1318 - Minimum Flips to Make a OR b Equal to c.Solution 1319 - Number of Operations to Make Network Connected.Solution 1320 - Minimum Distance to Type a Word Using Two Fingers.Solution 1323 - Maximum 69 Number.Solution 1324 - Print Words Vertically.Solution 1325 - Delete Leaves With a Given Value.Solution 1326 - Minimum Number of Taps to Open to Water a Garden.Solution 1328 - Break a Palindrome.Solution 1329 - Sort the Matrix Diagonally.Solution 1330 - Reverse Subarray To Maximize Array Value.Solution 1331 - Rank Transform of an Array.Solution 1332 - Remove Palindromic Subsequences.Solution 1333 - Filter Restaurants by Vegan-Friendly, Price and Distance.Solution 1334 - Find the City With the Smallest Number of Neighbors at a Threshold Distance.Solution 1335 - Minimum Difficulty of a Job Schedule.Solution 1337 - The K Weakest Rows in a Matrix.Solution 1338 - Reduce Array Size to The Half.Solution 1339 - Maximum Product of Splitted Binary Tree.Solution 1340 - Jump Game V.Solution 1342 - Number of Steps to Reduce a Number to Zero.Solution 1343 - Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold.Solution 1344 - Angle Between Hands of a Clock.Solution 1345 - Jump Game IV.Solution 1346 - Check If N and Its Double Exist.Solution 1347 - Minimum Number of Steps to Make Two Strings Anagram.Solution 1349 - Maximum Students Taking Exam.Solution 1351 - Count Negative Numbers in a Sorted Matrix.Solution 1353 - Maximum Number of Events That Can Be Attended.Solution 1354 - Construct Target Array With Multiple Sums.Solution 1356 - Sort Integers by The Number of 1 Bits.Solution 1358 - Number of Substrings Containing All Three Characters.Solution 1359 - Count All Valid Pickup and Delivery Options.Solution 1360 - Number of Days Between Two Dates.Solution 1361 - Validate Binary Tree Nodes.Solution 1362 - Closest Divisors.Solution 1363 - Largest Multiple of Three.Solution 1365 - How Many Numbers Are Smaller Than the Current Number.Solution 1366 - Rank Teams by Votes.Solution 1367 - Linked List in Binary Tree.Solution 1368 - Minimum Cost to Make at Least One Valid Path in a Grid.Solution 1370 - Increasing Decreasing String.Solution 1371 - Find the Longest Substring Containing Vowels in Even Counts.Solution 1372 - Longest ZigZag Path in a Binary Tree.Solution 1373 - Maximum Sum BST in Binary Tree.Solution 1374 - Generate a String With Characters That Have Odd Counts.Solution 1375 - Number of Times Binary String Is Prefix-Aligned.Solution 1376 - Time Needed to Inform All Employees.Solution 1377 - Frog Position After T Seconds.Solution 1379 - Find a Corresponding Node of a Binary Tree in a Clone of That Tree.Solution 1380 - Lucky Numbers in a Matrix.Solution 1382 - Balance a Binary Search Tree.Solution 1383 - Maximum Performance of a Team.Solution 1385 - Find the Distance Value Between Two Arrays.Solution 1386 - Cinema Seat Allocation.Solution 1387 - Sort Integers by The Power Value.Solution 1388 - Pizza With 3n Slices.Solution 1389 - Create Target Array in the Given Order.Solution 1390 - Four Divisors.Solution 1391 - Check if There is a Valid Path in a Grid.Solution 1392 - Longest Happy Prefix.Solution 1394 - Find Lucky Integer in an Array.Solution 1395 - Count Number of Teams.Solution 1397 - Find All Good Strings.Solution 1399 - Count Largest Group.Solution 1400 - Construct K Palindrome Strings.Solution 1401 - Circle and Rectangle Overlapping.Solution 1402 - Reducing Dishes.Solution 1403 - Minimum Subsequence in Non-Increasing Order.Solution 1404 - Number of Steps to Reduce a Number in Binary Representation to One.Solution 1405 - Longest Happy String.Solution 1406 - Stone Game III.Solution 1408 - String Matching in an Array.Solution 1409 - Queries on a Permutation With Key.Solution 1410 - HTML Entity Parser.Solution 1411 - Number of Ways to Paint N × 3 Grid.Solution 1413 - Minimum Value to Get Positive Step by Step Sum.Solution 1414 - Find the Minimum Number of Fibonacci Numbers Whose Sum Is K.Solution 1415 - The k-th Lexicographical String of All Happy Strings of Length n.Solution 1416 - Restore The Array.Solution 1417 - Reformat The String.Solution 1418 - Display Table of Food Orders in a Restaurant.Solution 1419 - Minimum Number of Frogs Croaking.Solution 1420 - Build Array Where You Can Find The Maximum Exactly K Comparisons.Solution 1422 - Maximum Score After Splitting a String.Solution 1423 - Maximum Points You Can Obtain from Cards.Solution 1424 - Diagonal Traverse II.Solution 1425 - Constrained Subsequence Sum.Solution 1431 - Kids With the Greatest Number of Candies.Solution 1432 - Max Difference You Can Get From Changing an Integer.Solution 1433 - Check If a String Can Break Another String.Solution 1434 - Number of Ways to Wear Different Hats to Each Other.Solution 1436 - Destination City.Solution 1437 - Check If All 1’s Are at Least Length K Places Away.Solution 1438 - Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit.Solution 1439 - Find the Kth Smallest Sum of a Matrix With Sorted Rows.Solution 1441 - Build an Array With Stack Operations.Solution 1442 - Count Triplets That Can Form Two Arrays of Equal XOR.Solution 1443 - Minimum Time to Collect All Apples in a Tree.Solution 1444 - Number of Ways of Cutting a Pizza.Solution 1446 - Consecutive Characters.Solution 1447 - Simplified Fractions.Solution 1448 - Count Good Nodes in Binary Tree.Solution 1449 - Form Largest Integer With Digits That Add up to Target.Solution 1450 - Number of Students Doing Homework at a Given Time.Solution 1451 - Rearrange Words in a Sentence.Solution 1452 - People Whose List of Favorite Companies Is Not a Subset of Another List.Solution 1453 - Maximum Number of Darts Inside of a Circular Dartboard.Solution 1455 - Check If a Word Occurs As a Prefix of Any Word in a Sentence.Solution 1456 - Maximum Number of Vowels in a Substring of Given Length.Solution 1457 - Pseudo-Palindromic Paths in a Binary Tree.Solution 1458 - Max Dot Product of Two Subsequences.Solution 1460 - Make Two Arrays Equal by Reversing Sub-arrays.Solution 1461 - Check If a String Contains All Binary Codes of Size K.Solution 1462 - Course Schedule IV.Solution 1463 - Cherry Pickup II.Solution 1464 - Maximum Product of Two Elements in an Array.Solution 1465 - Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts.Solution 1466 - Reorder Routes to Make All Paths Lead to the City Zero.Solution 1467 - Probability of a Two Boxes Having The Same Number of Distinct Balls.Solution 1470 - Shuffle the Array.Solution 1471 - The k Strongest Values in an Array.Solution 1473 - Paint House III.Solution 1475 - Final Prices With a Special Discount in a Shop.Solution 1477 - Find Two Non-overlapping Sub-arrays Each With Target Sum.Solution 1478 - Allocate Mailboxes.Solution 1480 - Running Sum of 1d Array.Solution 1481 - Least Number of Unique Integers after K Removals.Solution 1482 - Minimum Number of Days to Make m Bouquets.Solution 1486 - XOR Operation in an Array.Solution 1487 - Making File Names Unique.Solution 1488 - Avoid Flood in The City.Solution 1489 - Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree.Solution 1491 - Average Salary Excluding the Minimum and Maximum Salary.Solution 1492 - The kth Factor of n.Solution 1493 - Longest Subarray of 1’s After Deleting One Element.Solution 1494 - Parallel Courses II.Solution 1496 - Path Crossing.Solution 1497 - Check If Array Pairs Are Divisible by k.Solution 1498 - Number of Subsequences That Satisfy the Given Sum Condition.Solution 1499 - Max Value of Equation.Solution 1502 - Can Make Arithmetic Progression From Sequence.Solution 1503 - Last Moment Before All Ants Fall Out of a Plank.Solution 1504 - Count Submatrices With All Ones.Solution 1505 - Minimum Possible Integer After at Most K Adjacent Swaps On Digits.Solution 1507 - Reformat Date.Solution 1508 - Range Sum of Sorted Subarray Sums.Solution 1509 - Minimum Difference Between Largest and Smallest Value in Three Moves.Solution 1510 - Stone Game IV.Solution 1512 - Number of Good Pairs.Solution 1513 - Number of Substrings With Only 1s.Solution 1514 - Path with Maximum Probability.Solution 1515 - Best Position for a Service Centre.Solution 1518 - Water Bottles.Solution 1519 - Number of Nodes in the Sub-Tree With the Same Label.Solution 1520 - Maximum Number of Non-Overlapping Substrings.Solution 1521 - Find a Value of a Mysterious Function Closest to Target.Solution 1523 - Count Odd Numbers in an Interval Range.Solution 1524 - Number of Sub-arrays With Odd Sum.Solution 1525 - Number of Good Ways to Split a String.Solution 1526 - Minimum Number of Increments on Subarrays to Form a Target Array.Solution 1528 - Shuffle String.Solution 1529 - Minimum Suffix Flips.Solution 1530 - Number of Good Leaf Nodes Pairs.Solution 1531 - String Compression II.Solution 1534 - Count Good Triplets.Solution 1535 - Find the Winner of an Array Game.Solution 1536 - Minimum Swaps to Arrange a Binary Grid.Solution 1537 - Get the Maximum Score.Solution 1539 - Kth Missing Positive Number.Solution 1540 - Can Convert String in K Moves.Solution 1541 - Minimum Insertions to Balance a Parentheses String.Solution 1542 - Find Longest Awesome Substring.Solution 1544 - Make The String Great.Solution 1545 - Find Kth Bit in Nth Binary String.Solution 1546 - Maximum Number of Non-Overlapping Subarrays With Sum Equals Target.Solution 1547 - Minimum Cost to Cut a Stick.Solution 1550 - Three Consecutive Odds.Solution 1551 - Minimum Operations to Make Array Equal.Solution 1552 - Magnetic Force Between Two Balls.Solution 1553 - Minimum Number of Days to Eat N Oranges.Solution 1556 - Thousand Separator.Solution 1557 - Minimum Number of Vertices to Reach All Nodes.Solution 1558 - Minimum Numbers of Function Calls to Make Target Array.Solution 1559 - Detect Cycles in 2D Grid.Solution 1560 - Most Visited Sector in a Circular Track.Solution 1561 - Maximum Number of Coins You Can Get.Solution 1562 - Find Latest Group of Size M.Solution 1563 - Stone Game V.Solution 1566 - Detect Pattern of Length M Repeated K or More Times.Solution 1567 - Maximum Length of Subarray With Positive Product.Solution 1568 - Minimum Number of Days to Disconnect Island.Solution 1569 - Number of Ways to Reorder Array to Get Same BST.Solution 1572 - Matrix Diagonal Sum.Solution 1573 - Number of Ways to Split a String.Solution 1574 - Shortest Subarray to be Removed to Make Array Sorted.Solution 1575 - Count All Possible Routes.Solution 1576 - Replace All ?’Solution 1577 - Number of Ways Where Square of Number Is Equal to Product of Two Numbers.Solution 1578 - Minimum Time to Make Rope Colorful.Solution 1579 - Remove Max Number of Edges to Keep Graph Fully Traversable.Solution 1582 - Special Positions in a Binary Matrix.Solution 1583 - Count Unhappy Friends.Solution 1584 - Min Cost to Connect All Points.Solution 1585 - Check If String Is Transformable With Substring Sort Operations.Solution 1588 - Sum of All Odd Length Subarrays.Solution 1589 - Maximum Sum Obtained of Any Permutation.Solution 1590 - Make Sum Divisible by P.Solution 1591 - Strange Printer II.Solution 1592 - Rearrange Spaces Between Words.Solution 1593 - Split a String Into the Max Number of Unique Substrings.Solution 1594 - Maximum Non Negative Product in a Matrix.Solution 1595 - Minimum Cost to Connect Two Groups of Points.Solution 1598 - Crawler Log Folder.Solution 1599 - Maximum Profit of Operating a Centennial Wheel.Solution 1601 - Maximum Number of Achievable Transfer Requests.Solution 1604 - Alert Using Same Key-Card Three or More Times in a One Hour Period.Solution 1605 - Find Valid Matrix Given Row and Column Sums.Solution 1606 - Find Servers That Handled Most Number of Requests.Solution 1608 - Special Array With X Elements Greater Than or Equal X.Solution 1609 - Even Odd Tree.Solution 1610 - Maximum Number of Visible Points.Solution 1611 - Minimum One Bit Operations to Make Integers Zero.Solution 1614 - Maximum Nesting Depth of the Parentheses.Solution 1615 - Maximal Network Rank.Solution 1616 - Split Two Strings to Make Palindrome.Solution 1617 - Count Subtrees With Max Distance Between Cities.Solution 1619 - Mean of Array After Removing Some Elements.Solution 1620 - Coordinate With Maximum Network Quality.Solution 1621 - Number of Sets of K Non-Overlapping Line Segments.Solution 1624 - Largest Substring Between Two Equal Characters.Solution 1625 - Lexicographically Smallest String After Applying Operations.Solution 1626 - Best Team With No Conflicts.Solution 1627 - Graph Connectivity With Threshold.Solution 1629 - Slowest Key.Solution 1630 - Arithmetic Subarrays.Solution 1631 - Path With Minimum Effort.Solution 1632 - Rank Transform of a Matrix.Solution 1636 - Sort Array by Increasing Frequency.Solution 1637 - Widest Vertical Area Between Two Points Containing No Points.Solution 1638 - Count Substrings That Differ by One Character.Solution 1639 - Number of Ways to Form a Target String Given a Dictionary.Solution 1640 - Check Array Formation Through Concatenation.Solution 1641 - Count Sorted Vowel Strings.Solution 1642 - Furthest Building You Can Reach.Solution 1643 - Kth Smallest Instructions.Solution 1646 - Get Maximum in Generated Array.Solution 1647 - Minimum Deletions to Make Character Frequencies Unique.Solution 1648 - Sell Diminishing-Valued Colored Balls.Solution 1649 - Create Sorted Array through Instructions.Solution 1652 - Defuse the Bomb.Solution 1653 - Minimum Deletions to Make String Balanced.Solution 1654 - Minimum Jumps to Reach Home.Solution 1655 - Distribute Repeating Integers.Solution 1657 - Determine if Two Strings Are Close.Solution 1658 - Minimum Operations to Reduce X to Zero.Solution 1659 - Maximize Grid Happiness.Solution 1662 - Check If Two String Arrays are Equivalent.Solution 1663 - Smallest String With A Given Numeric Value.Solution 1664 - Ways to Make a Fair Array.Solution 1665 - Minimum Initial Energy to Finish Tasks.Solution 1668 - Maximum Repeating Substring.Solution 1669 - Merge In Between Linked Lists.Solution 1671 - Minimum Number of Removals to Make Mountain Array.Solution 1672 - Richest Customer Wealth.Solution 1673 - Find the Most Competitive Subsequence.Solution 1674 - Minimum Moves to Make Array Complementary.Solution 1675 - Minimize Deviation in Array.Solution 1678 - Goal Parser Interpretation.Solution 1679 - Max Number of K-Sum Pairs.Solution 1680 - Concatenation of Consecutive Binary Numbers.Solution 1681 - Minimum Incompatibility.Solution 1684 - Count the Number of Consistent Strings.Solution 1685 - Sum of Absolute Differences in a Sorted Array.Solution 1686 - Stone Game VI.Solution 1687 - Delivering Boxes from Storage to Ports.Solution 1688 - Count of Matches in Tournament.Solution 1689 - Partitioning Into Minimum Number Of Deci-Binary Numbers.Solution 1690 - Stone Game VII.Solution 1691 - Maximum Height by Stacking Cuboids.Solution 1694 - Reformat Phone Number.Solution 1695 - Maximum Erasure Value.Solution 1696 - Jump Game VI.Solution 1697 - Checking Existence of Edge Length Limited Paths.Solution 1700 - Number of Students Unable to Eat Lunch.Solution 1701 - Average Waiting Time.Solution 1702 - Maximum Binary String After Change.Solution 1703 - Minimum Adjacent Swaps for K Consecutive Ones.Solution 1704 - Determine if String Halves Are Alike.Solution 1705 - Maximum Number of Eaten Apples.Solution 1706 - Where Will the Ball Fall.Solution 1707 - Maximum XOR With an Element From Array.Solution 1710 - Maximum Units on a Truck.Solution 1711 - Count Good Meals.Solution 1712 - Ways to Split Array Into Three Subarrays.Solution 1713 - Minimum Operations to Make a Subsequence.Solution 1716 - Calculate Money in Leetcode Bank.Solution 1717 - Maximum Score From Removing Substrings.Solution 1718 - Construct the Lexicographically Largest Valid Sequence.Solution 1719 - Number Of Ways To Reconstruct A Tree.Solution 1720 - Decode XORed Array.Solution 1721 - Swapping Nodes in a Linked List.Solution 1722 - Minimize Hamming Distance After Swap Operations.Solution 1723 - Find Minimum Time to Finish All Jobs.Solution 1725 - Number Of Rectangles That Can Form The Largest Square.Solution 1726 - Tuple with Same Product.Solution 1727 - Largest Submatrix With Rearrangements.Solution 1728 - Cat and Mouse II.Solution 1732 - Find the Highest Altitude.Solution 1733 - Minimum Number of People to Teach.Solution 1734 - Decode XORed Permutation.Solution 1735 - Count Ways to Make Array With Product.Solution 1736 - Latest Time by Replacing Hidden Digits.Solution 1737 - Change Minimum Characters to Satisfy One of Three Conditions.Solution 1738 - Find Kth Largest XOR Coordinate Value.Solution 1739 - Building Boxes.Solution 1742 - Maximum Number of Balls in a Box.Solution 1743 - Restore the Array From Adjacent Pairs.Solution 1744 - Can You Eat Your Favorite Candy on Your Favorite Day?Solution 1745 - Palindrome Partitioning IV.Solution 1748 - Sum of Unique Elements.Solution 1749 - Maximum Absolute Sum of Any Subarray.Solution 1750 - Minimum Length of String After Deleting Similar Ends.Solution 1751 - Maximum Number of Events That Can Be Attended II.Solution 1752 - Check if Array Is Sorted and Rotated.Solution 1753 - Maximum Score From Removing Stones.Solution 1754 - Largest Merge Of Two Strings.Solution 1755 - Closest Subsequence Sum.Solution 1758 - Minimum Changes To Make Alternating Binary String.Solution 1759 - Count Number of Homogenous Substrings.Solution 1760 - Minimum Limit of Balls in a Bag.Solution 1761 - Minimum Degree of a Connected Trio in a Graph.Solution 1763 - Longest Nice Substring.Solution 1764 - Form Array by Concatenating Subarrays of Another Array.Solution 1765 - Map of Highest Peak.Solution 1766 - Tree of Coprimes.Solution 1768 - Merge Strings Alternately.Solution 1769 - Minimum Number of Operations to Move All Balls to Each Box.Solution 1770 - Maximum Score from Performing Multiplication Operations.Solution 1771 - Maximize Palindrome Length From Subsequences.Solution 1773 - Count Items Matching a Rule.Solution 1774 - Closest Dessert Cost.Solution 1775 - Equal Sum Arrays With Minimum Number of Operations.Solution 1776 - Car Fleet II.Solution 1779 - Find Nearest Point That Has the Same X or Y Coordinate.Solution 1780 - Check if Number is a Sum of Powers of Three.Solution 1781 - Sum of Beauty of All Substrings.Solution 1782 - Count Pairs Of Nodes.Solution 1784 - Check if Binary String Has at Most One Segment of Ones.Solution 1785 - Minimum Elements to Add to Form a Given Sum.Solution 1786 - Number of Restricted Paths From First to Last Node.Solution 1787 - Make the XOR of All Segments Equal to Zero.Solution 1790 - Check if One String Swap Can Make Strings Equal.Solution 1791 - Find Center of Star Graph.Solution 1792 - Maximum Average Pass Ratio.Solution 1793 - Maximum Score of a Good Subarray.Solution 1796 - Second Largest Digit in a String.Solution 1798 - Maximum Number of Consecutive Values You Can Make.Solution 1799 - Maximize Score After N Operations.Solution 1800 - Maximum Ascending Subarray Sum.Solution 1801 - Number of Orders in the Backlog.Solution 1802 - Maximum Value at a Given Index in a Bounded Array.Solution 1803 - Count Pairs With XOR in a Range.Solution 1805 - Number of Different Integers in a String.Solution 1806 - Minimum Number of Operations to Reinitialize a Permutation.Solution 1807 - Evaluate the Bracket Pairs of a String.Solution 1808 - Maximize Number of Nice Divisors.Solution 1812 - Determine Color of a Chessboard Square.Solution 1813 - Sentence Similarity III.Solution 1814 - Count Nice Pairs in an Array.Solution 1815 - Maximum Number of Groups Getting Fresh Donuts.Solution 1816 - Truncate Sentence.Solution 1817 - Finding the Users Active Minutes.Solution 1818 - Minimum Absolute Sum Difference.Solution 1819 - Number of Different Subsequences GCDs.Solution 1822 - Sign of the Product of an Array.Solution 1823 - Find the Winner of the Circular Game.Solution 1824 - Minimum Sideway Jumps.Solution 1827 - Minimum Operations to Make the Array Increasing.Solution 1828 - Queries on Number of Points Inside a Circle.Solution 1829 - Maximum XOR for Each Query.Solution 1830 - Minimum Number of Operations to Make String Sorted.Solution 1832 - Check if the Sentence Is Pangram.Solution 1833 - Maximum Ice Cream Bars.Solution 1834 - Single-Threaded CPU.Solution 1835 - Find XOR Sum of All Pairs Bitwise AND.Solution 1837 - Sum of Digits in Base K.Solution 1838 - Frequency of the Most Frequent Element.Solution 1839 - Longest Substring Of All Vowels in Order.Solution 1840 - Maximum Building Height.Solution 1844 - Replace All Digits with Characters.Solution 1846 - Maximum Element After Decreasing and Rearranging.Solution 1847 - Closest Room.Solution 1848 - Minimum Distance to the Target Element.Solution 1849 - Splitting a String Into Descending Consecutive Values.Solution 1850 - Minimum Adjacent Swaps to Reach the Kth Smallest Number.Solution 1851 - Minimum Interval to Include Each Query.Solution 1854 - Maximum Population Year.Solution 1855 - Maximum Distance Between a Pair of Values.Solution 1856 - Maximum Subarray Min-Product.Solution 1857 - Largest Color Value in a Directed Graph.Solution 1859 - Sorting the Sentence.Solution 1860 - Incremental Memory Leak.Solution 1861 - Rotating the Box.Solution 1862 - Sum of Floored Pairs.Solution 1863 - Sum of All Subset XOR Totals.Solution 1864 - Minimum Number of Swaps to Make the Binary String Alternating.Solution 1866 - Number of Ways to Rearrange Sticks With K Sticks Visible.Solution 1869 - Longer Contiguous Segments of Ones than Zeros.Solution 1870 - Minimum Speed to Arrive on Time.Solution 1871 - Jump Game VII.Solution 1872 - Stone Game VIII.Solution 1876 - Substrings of Size Three with Distinct Characters.Solution 1877 - Minimize Maximum Pair Sum in Array.Solution 1878 - Get Biggest Three Rhombus Sums in a Grid.Solution 1879 - Minimum XOR Sum of Two Arrays.Solution 1880 - Check if Word Equals Summation of Two Words.Solution 1881 - Maximum Value after Insertion.Solution 1882 - Process Tasks Using Servers.Solution 1883 - Minimum Skips to Arrive at Meeting On Time.Solution 1884 - Egg Drop With 2 Eggs and N Floors.Solution 1886 - Determine Whether Matrix Can Be Obtained By Rotation.Solution 1887 - Reduction Operations to Make the Array Elements Equal.Solution 1888 - Minimum Number of Flips to Make the Binary String Alternating.Solution 1889 - Minimum Space Wasted From Packaging.Solution 1893 - Check if All the Integers in a Range Are Covered.Solution 1894 - Find the Student that Will Replace the Chalk.Solution 1895 - Largest Magic Square.Solution 1896 - Minimum Cost to Change the Final Value of Expression.Solution 1897 - Redistribute Characters to Make All Strings Equal.Solution 1898 - Maximum Number of Removable Characters.Solution 1899 - Merge Triplets to Form Target Triplet.Solution 1900 - The Earliest and Latest Rounds Where Players Compete.Solution 1901 - Find a Peak Element II.Solution 1903 - Largest Odd Number in String.Solution 1904 - The Number of Full Rounds You Have Played.Solution 1905 - Count Sub Islands.Solution 1906 - Minimum Absolute Difference Queries.Solution 1909 - Remove One Element to Make the Array Strictly Increasing.Solution 1910 - Remove All Occurrences of a Substring.Solution 1911 - Maximum Alternating Subsequence Sum.Solution 1913 - Maximum Product Difference Between Two Pairs.Solution 1914 - Cyclically Rotating a Grid.Solution 1915 - Number of Wonderful Substrings.Solution 1916 - Count Ways to Build Rooms in an Ant Colony.Solution 1920 - Build Array from Permutation.Solution 1921 - Eliminate Maximum Number of Monsters.Solution 1922 - Count Good Numbers.Solution 1923 - Longest Common Subpath.Solution 1925 - Count Square Sum Triples.Solution 1926 - Nearest Exit from Entrance in Maze.Solution 1927 - Sum Game.Solution 1928 - Minimum Cost to Reach Destination in Time.Solution 1929 - Concatenation of Array.Solution 1930 - Unique Length-3 Palindromic Subsequences.Solution 1931 - Painting a Grid With Three Different Colors.Solution 1932 - Merge BSTs to Create Single BST.Solution 1935 - Maximum Number of Words You Can Type.Solution 1936 - Add Minimum Number of Rungs.Solution 1937 - Maximum Number of Points with Cost.Solution 1938 - Maximum Genetic Difference Query.Solution 1941 - Check if All Characters Have Equal Number of Occurrences.Solution 1942 - The Number of the Smallest Unoccupied Chair.Solution 1943 - Describe the Painting.Solution 1944 - Number of Visible People in a Queue.Solution 1945 - Sum of Digits of String After Convert.Solution 1946 - Largest Number After Mutating Substring.Solution 1947 - Maximum Compatibility Score Sum.Solution 1948 - Delete Duplicate Folders in System.Solution 1952 - Three Divisors.Solution 1953 - Maximum Number of Weeks for Which You Can Work.Solution 1954 - Minimum Garden Perimeter to Collect Enough Apples.Solution 1955 - Count Number of Special Subsequences.Solution 1957 - Delete Characters to Make Fancy String.Solution 1958 - Check if Move is Legal.Solution 1959 - Minimum Total Space Wasted With K Resizing Operations.Solution 1960 - Maximum Product of the Length of Two Palindromic Substrings.Solution 1961 - Check If String Is a Prefix of Array.Solution 1962 - Remove Stones to Minimize the Total.Solution 1963 - Minimum Number of Swaps to Make the String Balanced.Solution 1964 - Find the Longest Valid Obstacle Course at Each Position.Solution 1967 - Number of Strings That Appear as Substrings in Word.Solution 1968 - Array With Elements Not Equal to Average of Neighbors.Solution 1969 - Minimum Non-Zero Product of the Array Elements.Solution 1970 - Last Day Where You Can Still Cross.Solution 1971 - Find if Path Exists in Graph.Solution 1974 - Minimum Time to Type Word Using Special Typewriter.Solution 1975 - Maximum Matrix Sum.Solution 1976 - Number of Ways to Arrive at Destination.Solution 1977 - Number of Ways to Separate Numbers.Solution 1979 - Find Greatest Common Divisor of Array.Solution 1980 - Find Unique Binary String.Solution 1981 - Minimize the Difference Between Target and Chosen Elements.Solution 1982 - Find Array Given Subset Sums.Solution 1984 - Minimum Difference Between Highest and Lowest of K Scores.Solution 1985 - Find the Kth Largest Integer in the Array.Solution 1986 - Minimum Number of Work Sessions to Finish the Tasks.Solution 1987 - Number of Unique Good Subsequences.Solution 1991 - Find the Middle Index in Array.Solution 1992 - Find All Groups of Farmland.Solution 1994 - The Number of Good Subsets.Solution 1995 - Count Special Quadruplets.Solution 1996 - The Number of Weak Characters in the Game.Solution 1997 - First Day Where You Have Been in All the Rooms.Solution 1998 - GCD Sort of an Array.Solution 2000 - Reverse Prefix of Word.Solution 2001 - Number of Pairs of Interchangeable Rectangles.Solution 2002 - Maximum Product of the Length of Two Palindromic Subsequences.Solution 2003 - Smallest Missing Genetic Value in Each Subtree.Solution 2006 - Count Number of Pairs With Absolute Difference K.Solution 2007 - Find Original Array From Doubled Array.Solution 2008 - Maximum Earnings From Taxi.Solution 2009 - Minimum Number of Operations to Make Array Continuous.Solution 2011 - Final Value of Variable After Performing Operations.Solution 2012 - Sum of Beauty in the Array.Solution 2014 - Longest Subsequence Repeated k Times.Solution 2016 - Maximum Difference Between Increasing Elements.Solution 2017 - Grid Game.Solution 2018 - Check if Word Can Be Placed In Crossword.Solution 2019 - The Score of Students Solving Math Expression.Solution 2022 - Convert 1D Array Into 2D Array.Solution 2023 - Number of Pairs of Strings With Concatenation Equal to Target.Solution 2024 - Maximize the Confusion of an Exam.Solution 2025 - Maximum Number of Ways to Partition an Array.Solution 2027 - Minimum Moves to Convert String.Solution 2028 - Find Missing Observations.Solution 2029 - Stone Game IX.Solution 2030 - Smallest K-Length Subsequence With Occurrences of a Letter.Solution 2032 - Two Out of Three.Solution 2033 - Minimum Operations to Make a Uni-Value Grid.Solution 2035 - Partition Array Into Two Arrays to Minimize Sum Difference.Solution 2037 - Minimum Number of Moves to Seat Everyone.Solution 2038 - Remove Colored Pieces if Both Neighbors are the Same Color.Solution 2039 - The Time When the Network Becomes Idle.Solution 2040 - Kth Smallest Product of Two Sorted Arrays.Solution 2042 - Check if Numbers Are Ascending in a Sentence.Solution 2044 - Count Number of Maximum Bitwise-OR Subsets.Solution 2045 - Second Minimum Time to Reach Destination.Solution 2047 - Number of Valid Words in a Sentence.Solution 2048 - Next Greater Numerically Balanced Number.Solution 2049 - Count Nodes With the Highest Score.Solution 2050 - Parallel Courses III.Solution 2053 - Kth Distinct String in an Array.Solution 2054 - Two Best Non-Overlapping Events.Solution 2055 - Plates Between Candles.Solution 2056 - Number of Valid Move Combinations On Chessboard.Solution 2057 - Smallest Index With Equal Value.Solution 2058 - Find the Minimum and Maximum Number of Nodes Between Critical Points.Solution 2059 - Minimum Operations to Convert Number.Solution 2060 - Check if an Original String Exists Given Two Encoded Strings.Solution 2062 - Count Vowel Substrings of a String.Solution 2063 - Vowels of All Substrings.Solution 2064 - Minimized Maximum of Products Distributed to Any Store.Solution 2065 - Maximum Path Quality of a Graph.Solution 2068 - Check Whether Two Strings are Almost Equivalent.Solution 2070 - Most Beautiful Item for Each Query.Solution 2071 - Maximum Number of Tasks You Can Assign.Solution 2073 - Time Needed to Buy Tickets.Solution 2074 - Reverse Nodes in Even Length Groups.Solution 2075 - Decode the Slanted Ciphertext.Solution 2076 - Process Restricted Friend Requests.Solution 2078 - Two Furthest Houses With Different Colors.Solution 2079 - Watering Plants.Solution 2081 - Sum of k-Mirror Numbers.Solution 2085 - Count Common Words With One Occurrence.Solution 2086 - Minimum Number of Buckets Required to Collect Rainwater from Houses.Solution 2087 - Minimum Cost Homecoming of a Robot in a Grid.Solution 2088 - Count Fertile Pyramids in a Land.Solution 2089 - Find Target Indices After Sorting Array.Solution 2090 - K Radius Subarray Averages.Solution 2091 - Removing Minimum and Maximum From Array.Solution 2092 - Find All People With Secret.Solution 2094 - Finding 3-Digit Even Numbers.Solution 2095 - Delete the Middle Node of a Linked List.Solution 2096 - Step-By-Step Directions From a Binary Tree Node to Another.Solution 2097 - Valid Arrangement of Pairs.Solution 2099 - Find Subsequence of Length K With the Largest Sum.Solution 2100 - Find Good Days to Rob the Bank.Solution 2101 - Detonate the Maximum Bombs.Solution 2103 - Rings and Rods.Solution 2104 - Sum of Subarray Ranges.Solution 2105 - Watering Plants II.Solution 2106 - Maximum Fruits Harvested After at Most K Steps.Solution 2108 - Find First Palindromic String in the Array.Solution 2109 - Adding Spaces to a String.Solution 2110 - Number of Smooth Descent Periods of a Stock.Solution 2111 - Minimum Operations to Make the Array K-Increasing.Solution 2114 - Maximum Number of Words Found in Sentences.Solution 2115 - Find All Possible Recipes from Given Supplies.Solution 2116 - Check if a Parentheses String Can Be Valid.Solution 2117 - Abbreviating the Product of a Range.Solution 2119 - A Number After a Double Reversal.Solution 2120 - Execution of All Suffix Instructions Staying in a Grid.Solution 2121 - Intervals Between Identical Elements.Solution 2122 - Recover the Original Array.Solution 2124 - Check if All A’s Appears Before All B’s.Solution 2125 - Number of Laser Beams in a Bank.Solution 2126 - Destroying Asteroids.Solution 2127 - Maximum Employees to Be Invited to a Meeting.Solution 2129 - Capitalize the Title.Solution 2130 - Maximum Twin Sum of a Linked List.Solution 2131 - Longest Palindrome by Concatenating Two Letter Words.Solution 2132 - Stamping the Grid.Solution 2133 - Check if Every Row and Column Contains All Numbers.Solution 2134 - Minimum Swaps to Group All 1’s Together II.Solution 2135 - Count Words Obtained After Adding a Letter.Solution 2136 - Earliest Possible Day of Full Bloom.Solution 2138 - Divide a String Into Groups of Size k.Solution 2139 - Minimum Moves to Reach Target Score.Solution 2140 - Solving Questions With Brainpower.Solution 2141 - Maximum Running Time of N Computers.Solution 2144 - Minimum Cost of Buying Candies With Discount.Solution 2145 - Count the Hidden Sequences.Solution 2146 - K Highest Ranked Items Within a Price Range.Solution 2147 - Number of Ways to Divide a Long Corridor.Solution 2148 - Count Elements With Strictly Smaller and Greater Elements.Solution 2149 - Rearrange Array Elements by Sign.Solution 2150 - Find All Lonely Numbers in the Array.Solution 2151 - Maximum Good People Based on Statements.Solution 2154 - Keep Multiplying Found Values by Two.Solution 2155 - All Divisions With the Highest Score of a Binary Array.Solution 2156 - Find Substring With Given Hash Value.Solution 2157 - Groups of Strings.Solution 2160 - Minimum Sum of Four Digit Number After Splitting Digits.Solution 2161 - Partition Array According to Given Pivot.Solution 2162 - Minimum Cost to Set Cooking Time.Solution 2163 - Minimum Difference in Sums After Removal of Elements.Solution 2164 - Sort Even and Odd Indices Independently.Solution 2165 - Smallest Value of the Rearranged Number.Solution 2167 - Minimum Time to Remove All Cars Containing Illegal Goods.Solution 2169 - Count Operations to Obtain Zero.Solution 2170 - Minimum Operations to Make the Array Alternating.Solution 2171 - Removing Minimum Number of Magic Beans.Solution 2172 - Maximum AND Sum of Array.Solution 2176 - Count Equal and Divisible Pairs in an Array.Solution 2177 - Find Three Consecutive Integers That Sum to a Given Number.Solution 2178 - Maximum Split of Positive Even Integers.Solution 2179 - Count Good Triplets in an Array.Solution 2180 - Count Integers With Even Digit Sum.Solution 2181 - Merge Nodes in Between Zeros.Solution 2182 - Construct String With Repeat Limit.Solution 2183 - Count Array Pairs Divisible by K.Solution 2185 - Counting Words With a Given Prefix.Solution 2186 - Minimum Number of Steps to Make Two Strings Anagram II.Solution 2187 - Minimum Time to Complete Trips.Solution 2188 - Minimum Time to Finish the Race.Solution 2190 - Most Frequent Number Following Key In an Array.Solution 2191 - Sort the Jumbled Numbers.Solution 2192 - All Ancestors of a Node in a Directed Acyclic Graph.Solution 2193 - Minimum Number of Moves to Make Palindrome.Solution 2194 - Cells in a Range on an Excel Sheet.Solution 2195 - Append K Integers With Minimal Sum.Solution 2196 - Create Binary Tree From Descriptions.Solution 2197 - Replace Non-Coprime Numbers in Array.Solution 2200 - Find All K-Distant Indices in an Array.Solution 2201 - Count Artifacts That Can Be Extracted.Solution 2202 - Maximize the Topmost Element After K Moves.Solution 2203 - Minimum Weighted Subgraph With the Required Paths.Solution 2206 - Divide Array Into Equal Pairs.Solution 2207 - Maximize Number of Subsequences in a String.Solution 2208 - Minimum Operations to Halve Array Sum.Solution 2209 - Minimum White Tiles After Covering With Carpets.Solution 2210 - Count Hills and Valleys in an Array.Solution 2211 - Count Collisions on a Road.Solution 2212 - Maximum Points in an Archery Competition.Solution 2213 - Longest Substring of One Repeating Character.Solution 2215 - Find the Difference of Two Arrays.Solution 2216 - Minimum Deletions to Make Array Beautiful.Solution 2217 - Find Palindrome With Fixed Length.Solution 2218 - Maximum Value of K Coins From Piles.Solution 2220 - Minimum Bit Flips to Convert Number.Solution 2221 - Find Triangular Sum of an Array.Solution 2222 - Number of Ways to Select Buildings.Solution 2223 - Sum of Scores of Built Strings.Solution 2224 - Minimum Number of Operations to Convert Time.Solution 2225 - Find Players With Zero or One Losses.Solution 2226 - Maximum Candies Allocated to K Children.Solution 2231 - Largest Number After Digit Swaps by Parity.Solution 2232 - Minimize Result by Adding Parentheses to Expression.Solution 2233 - Maximum Product After K Increments.Solution 2234 - Maximum Total Beauty of the Gardens.Solution 2235 - Add Two Integers.Solution 2236 - Root Equals Sum of Children.Solution 2239 - Find Closest Number to Zero.Solution 2240 - Number of Ways to Buy Pens and Pencils.Solution 2242 - Maximum Score of a Node Sequence.Solution 2243 - Calculate Digit Sum of a String.Solution 2244 - Minimum Rounds to Complete All Tasks.Solution 2245 - Maximum Trailing Zeros in a Cornered Path.Solution 2246 - Longest Path With Different Adjacent Characters.Solution 2248 - Intersection of Multiple Arrays.Solution 2249 - Count Lattice Points Inside a Circle.Solution 2250 - Count Number of Rectangles Containing Each Point.Solution 2251 - Number of Flowers in Full Bloom.Solution 2255 - Count Prefixes of a Given String.Solution 2256 - Minimum Average Difference.Solution 2257 - Count Unguarded Cells in the Grid.Solution 2258 - Escape the Spreading Fire.Solution 2259 - Remove Digit From Number to Maximize Result.Solution 2260 - Minimum Consecutive Cards to Pick Up.Solution 2261 - K Divisible Elements Subarrays.Solution 2262 - Total Appeal of A String.Solution 2264 - Largest 3-Same-Digit Number in String.Solution 2265 - Count Nodes Equal to Average of Subtree.Solution 2266 - Count Number of Texts.Solution 2267 - Check if There Is a Valid Parentheses String Path.Solution 2269 - Find the K-Beauty of a Number.Solution 2270 - Number of Ways to Split Array.Solution 2271 - Maximum White Tiles Covered by a Carpet.Solution 2272 - Substring With Largest Variance.Solution 2273 - Find Resultant Array After Removing Anagrams.Solution 2274 - Maximum Consecutive Floors Without Special Floors.Solution 2275 - Largest Combination With Bitwise AND Greater Than Zero.Solution 2278 - Percentage of Letter in String.Solution 2279 - Maximum Bags With Full Capacity of Rocks.Solution 2280 - Minimum Lines to Represent a Line Chart.Solution 2281 - Sum of Total Strength of Wizards.Solution 2283 - Check if Number Has Equal Digit Count and Digit Value.Solution 2284 - Sender With Largest Word Count.Solution 2285 - Maximum Total Importance of Roads.Solution 2287 - Rearrange Characters to Make Target String.Solution 2288 - Apply Discount to Prices.Solution 2289 - Steps to Make Array Non-decreasing.Solution 2290 - Minimum Obstacle Removal to Reach Corner.Solution 2293 - Min Max Game.Solution 2294 - Partition Array Such That Maximum Difference Is K.Solution 2295 - Replace Elements in an Array.Solution 2299 - Strong Password Checker II.Solution 2300 - Successful Pairs of Spells and Potions.Solution 2301 - Match Substring After Replacement.Solution 2302 - Count Subarrays With Score Less Than K.Solution 2303 - Calculate Amount Paid in Taxes.Solution 2304 - Minimum Path Cost in a Grid.Solution 2305 - Fair Distribution of Cookies.Solution 2306 - Naming a Company.Solution 2309 - Greatest English Letter in Upper and Lower Case.Solution 2310 - Sum of Numbers With Units Digit K.Solution 2311 - Longest Binary Subsequence Less Than or Equal to K.Solution 2312 - Selling Pieces of Wood.Solution 2315 - Count Asterisks.Solution 2316 - Count Unreachable Pairs of Nodes in an Undirected Graph.Solution 2317 - Maximum XOR After Operations.Solution 2318 - Number of Distinct Roll Sequences.Solution 2319 - Check if Matrix Is X-Matrix.Solution 2320 - Count Number of Ways to Place Houses.Solution 2321 - Maximum Score Of Spliced Array.Solution 2322 - Minimum Score After Removals on a Tree.Solution 2325 - Decode the Message.Solution 2326 - Spiral Matrix IV.Solution 2327 - Number of People Aware of a Secret.Solution 2328 - Number of Increasing Paths in a Grid.Solution 2331 - Evaluate Boolean Binary Tree.Solution 2332 - The Latest Time to Catch a Bus.Solution 2333 - Minimum Sum of Squared Difference.Solution 2334 - Subarray With Elements Greater Than Varying Threshold.Solution 2335 - Minimum Amount of Time to Fill Cups.Solution 2337 - Move Pieces to Obtain a String.Solution 2338 - Count the Number of Ideal Arrays.Solution 2341 - Maximum Number of Pairs in Array.Solution 2342 - Max Sum of a Pair With Equal Sum of Digits.Solution 2343 - Query Kth Smallest Trimmed Number.Solution 2344 - Minimum Deletions to Make Array Divisible.Solution 2347 - Best Poker Hand.Solution 2348 - Number of Zero-Filled Subarrays.Solution 2350 - Shortest Impossible Sequence of Rolls.Solution 2351 - First Letter to Appear Twice.Solution 2352 - Equal Row and Column Pairs.Solution 2354 - Number of Excellent Pairs.Solution 2357 - Make Array Zero by Subtracting Equal Amounts.Solution 2358 - Maximum Number of Groups Entering a Competition.Solution 2359 - Find Closest Node to Given Two Nodes.Solution 2360 - Longest Cycle in a Graph.Solution 2363 - Merge Similar Items.Solution 2364 - Count Number of Bad Pairs.Solution 2365 - Task Scheduler II.Solution 2366 - Minimum Replacements to Sort the Array.Solution 2367 - Number of Arithmetic Triplets.Solution 2368 - Reachable Nodes With Restrictions.Solution 2369 - Check if There is a Valid Partition For The Array.Solution 2370 - Longest Ideal Subsequence.Solution 2373 - Largest Local Values in a Matrix.Solution 2374 - Node With Highest Edge Score.Solution 2375 - Construct Smallest Number From DI String.Solution 2376 - Count Special Integers.Solution 2379 - Minimum Recolors to Get K Consecutive Black Blocks.Solution 2380 - Time Needed to Rearrange a Binary String.Solution 2381 - Shifting Letters II.Solution 2382 - Maximum Segment Sum After Removals.Solution 2383 - Minimum Hours of Training to Win a Competition.Solution 2384 - Largest Palindromic Number.Solution 2385 - Amount of Time for Binary Tree to Be Infected.Solution 2386 - Find the K-Sum of an Array.Solution 2389 - Longest Subsequence With Limited Sum.Solution 2390 - Removing Stars From a String.Solution 2391 - Minimum Amount of Time to Collect Garbage.Solution 2392 - Build a Matrix With Conditions.Solution 2395 - Find Subarrays With Equal Sum.Solution 2396 - Strictly Palindromic Number.Solution 2397 - Maximum Rows Covered by Columns.Solution 2398 - Maximum Number of Robots Within Budget.Solution 2399 - Check Distances Between Same Letters.Solution 2400 - Number of Ways to Reach a Position After Exactly k Steps.Solution 2401 - Longest Nice Subarray.Solution 2402 - Meeting Rooms III.Solution 2404 - Most Frequent Even Element.Solution 2405 - Optimal Partition of String.Solution 2406 - Divide Intervals Into Minimum Number of Groups.Solution 2407 - Longest Increasing Subsequence II.Solution 2409 - Count Days Spent Together.Solution 2410 - Maximum Matching of Players With Trainers.Solution 2411 - Smallest Subarrays With Maximum Bitwise OR.Solution 2412 - Minimum Money Required Before Transactions.Solution 2413 - Smallest Even Multiple.Solution 2414 - Length of the Longest Alphabetical Continuous Substring.Solution 2415 - Reverse Odd Levels of Binary Tree.Solution 2416 - Sum of Prefix Scores of Strings.Solution 2418 - Sort the People.Solution 2419 - Longest Subarray With Maximum Bitwise AND.Solution 2420 - Find All Good Indices.Solution 2421 - Number of Good Paths.Solution 2423 - Remove Letter To Equalize Frequency.Solution 2425 - Bitwise XOR of All Pairings.Solution 2426 - Number of Pairs Satisfying Inequality.Solution 2427 - Number of Common Factors.Solution 2428 - Maximum Sum of an Hourglass.Solution 2429 - Minimize XOR.Solution 2430 - Maximum Deletions on a String.Solution 2432 - The Employee That Worked on the Longest Task.Solution 2433 - Find The Original Array of Prefix Xor.Solution 2434 - Using a Robot to Print the Lexicographically Smallest String.Solution 2435 - Paths in Matrix Whose Sum Is Divisible by K.Solution 2437 - Number of Valid Clock Times.Solution 2438 - Range Product Queries of Powers.Solution 2439 - Minimize Maximum of Array.Solution 2440 - Create Components With Same Value.Solution 2441 - Largest Positive Integer That Exists With Its Negative.Solution 2442 - Count Number of Distinct Integers After Reverse Operations.Solution 2443 - Sum of Number and Its Reverse.Solution 2444 - Count Subarrays With Fixed Bounds.Solution 2446 - Determine if Two Events Have Conflict.Solution 2447 - Number of Subarrays With GCD Equal to K.Solution 2448 - Minimum Cost to Make Array Equal.Solution 2449 - Minimum Number of Operations to Make Arrays Similar.Solution 2451 - Odd String Difference.Solution 2452 - Words Within Two Edits of Dictionary.Solution 2453 - Destroy Sequential Targets.Solution 2454 - Next Greater Element IV.Solution 2455 - Average Value of Even Numbers That Are Divisible by Three.Solution 2456 - Most Popular Video Creator.Solution 2457 - Minimum Addition to Make Integer Beautiful.Solution 2458 - Height of Binary Tree After Subtree Removal Queries.Solution 2460 - Apply Operations to an Array.Solution 2461 - Maximum Sum of Distinct Subarrays With Length K.Solution 2462 - Total Cost to Hire K Workers.Solution 2463 - Minimum Total Distance Traveled.Solution 2465 - Number of Distinct Averages.Solution 2466 - Count Ways To Build Good Strings.Solution 2467 - Most Profitable Path in a Tree.Solution 2468 - Split Message Based on Limit.Solution 2469 - Convert the Temperature.Solution 2470 - Number of Subarrays With LCM Equal to K.Solution 2471 - Minimum Number of Operations to Sort a Binary Tree by Level.Solution 2472 - Maximum Number of Non-overlapping Palindrome Substrings.Solution 2475 - Number of Unequal Triplets in Array.Solution 2476 - Closest Nodes Queries in a Binary Search Tree.Solution 2477 - Minimum Fuel Cost to Report to the Capital.Solution 2478 - Number of Beautiful Partitions.Solution 2481 - Minimum Cuts to Divide a Circle.Solution 2482 - Difference Between Ones and Zeros in Row and Column.Solution 2483 - Minimum Penalty for a Shop.Solution 2484 - Count Palindromic Subsequences.Solution 2485 - Find the Pivot Integer.Solution 2486 - Append Characters to String to Make Subsequence.Solution 2487 - Remove Nodes From Linked List.Solution 2488 - Count Subarrays With Median K.Solution 2490 - Circular Sentence.Solution 2491 - Divide Players Into Teams of Equal Skill.Solution 2492 - Minimum Score of a Path Between Two Cities.Solution 2493 - Divide Nodes Into the Maximum Number of Groups.Solution 2496 - Maximum Value of a String in an Array.Solution 2497 - Maximum Star Sum of a Graph.Solution 2498 - Frog Jump II.Solution 2499 - Minimum Total Cost to Make Arrays Unequal.Solution 2500 - Delete Greatest Value in Each Row.Solution 2501 - Longest Square Streak in an Array.Solution 2503 - Maximum Number of Points From Grid Queries.Solution 2506 - Count Pairs Of Similar Strings.Solution 2507 - Smallest Value After Replacing With Sum of Prime Factors.Solution 2508 - Add Edges to Make Degrees of All Nodes Even.Solution 2509 - Cycle Length Queries in a Tree.Solution 2511 - Maximum Enemy Forts That Can Be Captured.Solution 2512 - Reward Top K Students.Solution 2513 - Minimize the Maximum of Two Arrays.Solution 2514 - Count Anagrams.Solution 2515 - Shortest Distance to Target String in a Circular Array.Solution 2516 - Take K of Each Character From Left and Right.Solution.CustomFunction SORTracker 2102 - Sequentially Ordinal Rank Tracker.StockPrice 2034 - Stock Price Fluctuation.StockSpanner 901 - Online Stock Span.StreamChecker 1032 - Stream of Characters.SubrectangleQueries 1476 - Subrectangle Queries.SummaryRanges 352 - Data Stream as Disjoint Intervals.TextEditor 2296 - Design a Text Editor.ThroneInheritance 1600 - Throne Inheritance.TimeMap 981 - Time Based Key-Value Store.TopVotedCandidate 911 - Online Election.Tree 212 - Word Search II.TreeAncestor 1483 - Kth Ancestor of a Tree Node.TreeNode Trie 208 - Implement Trie (Prefix Tree).TweetCounts 1348 - Tweet Counts Per Frequency.Twitter 355 - Design Twitter.UndergroundSystem 1396 - Design Underground System.VersionControl 278 - First Bad Version.WordDictionary 211 - Design Add and Search Words Data Structure.WordFilter 745 - Prefix and Suffix Search.ZeroEvenOdd 1116 - Print Zero Even Odd.