A command line option has enabled the security manager leetcode

v12.6.0 Active Name Version Desc ---------------------------------------------------------------------------------------------------- ✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions. ✔ company 2017.12.18 Plugin to query by company for free user. ✔ cache default Plugin to provide local cache. ✔ retry default Plugin to retry last failed request if autologin.enable is on. ✘ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs. ✔ leetcode default Plugin to talk with leetcode APIs. Active Name Version Desc ---------------------------------------------------------------------------------------------------- ✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions. ✔ company 2017.12.18 Plugin to query by company for free user. ✔ cache default Plugin to provide local cache. ✔ retry default Plugin to retry last failed request if autologin.enable is on. ✘ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs. ✔ leetcode default Plugin to talk with leetcode APIs. Active Name Version Desc ---------------------------------------------------------------------------------------------------- ✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions. ✔ company 2017.12.18 Plugin to query by company for free user. ✔ cache default Plugin to provide local cache. ✔ retry default Plugin to retry last failed request if autologin.enable is on. ✔ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs. ✔ leetcode default Plugin to talk with leetcode APIs. Active Name Version Desc ---------------------------------------------------------------------------------------------------- ✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions. ✔ company 2017.12.18 Plugin to query by company for free user. ✔ cache default Plugin to provide local cache. ✔ retry default Plugin to retry last failed request if autologin.enable is on. ✘ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs. ✔ leetcode default Plugin to talk with leetcode APIs. Premium User Host ------------------------------------------------------------ ✘ huchenme //leetcode.com   [1001] Grid Illumination Hard (33.60 %)   [ 999] Available Captures for Rook Easy (71.83 %)   [ 998] Maximum Binary Tree II Medium (62.91 %)   [ 997] Find the Town Judge Easy (47.92 %)   [ 996] Number of Squareful Arrays Hard (48.16 %)   [ 995] Minimum Number of K Consecutive Bit Flips Hard (51.72 %)   [ 994] Rotting Oranges Easy (46.52 %)   [ 993] Cousins in Binary Tree Easy (53.78 %)   [ 992] Subarrays with K Different Integers Hard (45.14 %)   [ 991] Broken Calculator Medium (38.53 %)   [ 990] Satisfiability of Equality Equations Medium (38.60 %)   [ 989] Add to Array-Form of Integer Easy (45.00 %)   [ 988] Smallest String Starting From Leaf Medium (52.66 %)   [ 987] Vertical Order Traversal of a Binary Tree Medium (33.26 %)   [ 986] Interval List Intersections Medium (61.15 %)   [ 985] Sum of Even Numbers After Queries Easy (68.35 %)   [ 984] String Without AAA or BBB Easy (32.29 %)   [ 983] Minimum Cost For Tickets Medium (58.18 %)   [ 982] Triples with Bitwise AND Equal To Zero Hard (53.43 %)   [ 981] Time Based Key-Value Store Medium (48.97 %)   [ 980] Unique Paths III Hard (73.06 %)   [ 979] Distribute Coins in Binary Tree Medium (65.87 %)   [ 978] Longest Turbulent Subarray Medium (45.88 %)   [ 977] Squares of a Sorted Array Easy (73.15 %)   [ 976] Largest Perimeter Triangle Easy (56.92 %)   [ 975] Odd Even Jump Hard (50.64 %)   [ 974] Subarray Sums Divisible by K Medium (41.39 %)   [ 973] K Closest Points to Origin Easy (66.38 %)   [ 972] Equal Rational Numbers Hard (39.73 %)   [ 971] Flip Binary Tree To Match Preorder Traversal Medium (42.28 %)   [ 970] Powerful Integers Easy (39.67 %)   [ 969] Pancake Sorting Medium (61.96 %)   [ 968] Binary Tree Cameras Hard (33.67 %)   [ 967] Numbers With Same Consecutive Differences Medium (35.90 %)   [ 966] Vowel Spellchecker Medium (39.34 %)   [ 965] Univalued Binary Tree Easy (67.67 %)   [ 964] Least Operators to Express Number Hard (39.91 %)   [ 963] Minimum Area Rectangle II Medium (41.95 %)   [ 962] Maximum Width Ramp Medium (40.31 %)   [ 961] N-Repeated Element in Size 2N Array Easy (73.45 %)   [ 960] Delete Columns to Make Sorted III Hard (52.00 %)   [ 959] Regions Cut By Slashes Medium (61.37 %)   [ 958] Check Completeness of a Binary Tree Medium (46.11 %)   [ 957] Prison Cells After N Days Medium (37.71 %)   [ 956] Tallest Billboard Hard (37.28 %)   [ 955] Delete Columns to Make Sorted II Medium (30.68 %)   [ 954] Array of Doubled Pairs Medium (33.96 %)   [ 953] Verifying an Alien Dictionary Easy (56.31 %)   [ 952] Largest Component Size by Common Factor Hard (25.13 %)   [ 951] Flip Equivalent Binary Trees Medium (64.96 %)   [ 950] Reveal Cards In Increasing Order Medium (71.15 %)   [ 949] Largest Time for Given Digits Easy (33.24 %)   [ 948] Bag of Tokens Medium (38.78 %)   [ 947] Most Stones Removed with Same Row or Column Medium (53.54 %)   [ 946] Validate Stack Sequences Medium (57.65 %)   [ 945] Minimum Increment to Make Array Unique Medium (42.18 %)   [ 944] Delete Columns to Make Sorted Easy (69.82 %)   [ 943] Find the Shortest Superstring Hard (34.77 %)   [ 942] DI String Match Easy (70.21 %)   [ 941] Valid Mountain Array Easy (34.66 %)   [ 940] Distinct Subsequences II Hard (37.61 %)   [ 939] Minimum Area Rectangle Medium (49.23 %)   [ 938] Range Sum of BST Medium (80.61 %)   [ 937] Reorder Log Files Easy (58.90 %)   [ 936] Stamping The Sequence Hard (35.47 %)   [ 935] Knight Dialer Medium (38.49 %)   [ 934] Shortest Bridge Medium (43.71 %)   [ 933] Number of Recent Calls Easy (68.97 %)   [ 932] Beautiful Array Medium (51.15 %)   [ 931] Minimum Falling Path Sum Medium (57.58 %)   [ 930] Binary Subarrays With Sum Medium (36.52 %)   [ 929] Unique Email Addresses Easy (76.15 %)   [ 928] Minimize Malware Spread II Hard (38.01 %)   [ 927] Three Equal Parts Hard (29.93 %)   [ 926] Flip String to Monotone Increasing Medium (48.19 %)   [ 925] Long Pressed Name Easy (44.34 %)   [ 924] Minimize Malware Spread Hard (38.77 %)   [ 923] 3Sum With Multiplicity Medium (32.09 %)   [ 922] Sort Array By Parity II Easy (66.70 %)   [ 921] Minimum Add to Make Parentheses Valid Medium (69.51 %)   [ 920] Number of Music Playlists Hard (42.73 %)   [ 919] Complete Binary Tree Inserter Medium (54.53 %)   [ 918] Maximum Sum Circular Subarray Medium (29.63 %)   [ 917] Reverse Only Letters Easy (55.91 %)   [ 916] Word Subsets Medium (44.07 %)   [ 915] Partition Array into Disjoint Intervals Medium (41.91 %)   [ 914] X of a Kind in a Deck of Cards Easy (34.51 %)   [ 913] Cat and Mouse Hard (26.89 %)   [ 911] Online Election Medium (44.26 %)   [ 910] Smallest Range II Medium (22.55 %)   [ 909] Snakes and Ladders Medium (30.10 %)   [ 908] Smallest Range I Easy (64.40 %)   [ 907] Sum of Subarray Minimums Medium (25.29 %)   [ 906] Super Palindromes Hard (29.68 %)   [ 905] Sort Array By Parity Easy (72.13 %)   [ 904] Fruit Into Baskets Medium (40.87 %)   [ 903] Valid Permutations for DI Sequence Hard (41.89 %)   [ 902] Numbers At Most N Given Digit Set Hard (27.57 %)   [ 901] Online Stock Span Medium (46.68 %)   [ 900] RLE Iterator Medium (48.65 %)   [ 899] Orderly Queue Hard (46.26 %)   [ 898] Bitwise ORs of Subarrays Medium (32.92 %)   [ 897] Increasing Order Search Tree Easy (62.86 %)   [ 896] Monotonic Array Easy (54.55 %)   [ 895] Maximum Frequency Stack Hard (52.33 %)   [ 894] All Possible Full Binary Trees Medium (69.27 %)   [ 893] Groups of Special-Equivalent Strings Easy (61.79 %)   [ 892] Surface Area of 3D Shapes Easy (55.52 %)   [ 891] Sum of Subsequence Widths Hard (28.14 %)   [ 890] Find and Replace Pattern Medium (70.13 %)   [ 889] Construct Binary Tree from Preorder and Postorder Traversal Medium (57.87 %)   [ 888] Fair Candy Swap Easy (55.93 %)   [ 887] Super Egg Drop Hard (24.66 %)   [ 886] Possible Bipartition Medium (40.11 %)   [ 885] Spiral Matrix III Medium (63.48 %)   [ 884] Uncommon Words from Two Sentences Easy (60.59 %)   [ 883] Projection Area of 3D Shapes Easy (65.26 %)   [ 882] Reachable Nodes In Subdivided Graph Hard (36.60 %)   [ 881] Boats to Save People Medium (42.80 %)   [ 880] Decoded String at Index Medium (23.03 %)   [ 879] Profitable Schemes Hard (35.56 %)   [ 878] Nth Magical Number Hard (24.58 %)   [ 877] Stone Game Medium (60.46 %)   [ 876] Middle of the Linked List Easy (63.29 %)   [ 875] Koko Eating Bananas Medium (44.39 %)   [ 874] Walking Robot Simulation Easy (30.73 %)   [ 873] Length of Longest Fibonacci Subsequence Medium (45.52 %)   [ 872] Leaf-Similar Trees Easy (62.16 %)   [ 871] Minimum Number of Refueling Stops Hard (28.09 %)   [ 870] Advantage Shuffle Medium (41.50 %)   [ 869] Reordered Power of 2 Medium (49.90 %)   [ 868] Binary Gap Easy (59.27 %)   [ 867] Transpose Matrix Easy (63.69 %)   [ 866] Prime Palindrome Medium (19.14 %)   [ 865] Smallest Subtree with all the Deepest Nodes Medium (54.29 %)   [ 864] Shortest Path to Get All Keys Hard (35.27 %)   [ 863] All Nodes Distance K in Binary Tree Medium (45.50 %)   [ 862] Shortest Subarray with Sum at Least K Hard (21.66 %)   [ 861] Score After Flipping Matrix Medium (68.68 %)   [ 860] Lemonade Change Easy (50.32 %)   [ 859] Buddy Strings Easy (27.51 %)   [ 858] Mirror Reflection Medium (51.36 %)   [ 857] Minimum Cost to Hire K Workers Hard (46.74 %)   [ 856] Score of Parentheses Medium (55.11 %)   [ 855] Exam Room Medium (37.08 %)   [ 854] K-Similar Strings Hard (32.46 %)   [ 853] Car Fleet Medium (38.37 %)   [ 852] Peak Index in a Mountain Array Easy (69.02 %)   [ 851] Loud and Rich Medium (46.61 %)   [ 850] Rectangle Area II Hard (43.63 %)   [ 849] Maximize Distance to Closest Person Easy (40.44 %)   [ 848] Shifting Letters Medium (39.45 %)   [ 847] Shortest Path Visiting All Nodes Hard (45.44 %)   [ 846] Hand of Straights Medium (48.38 %)   [ 845] Longest Mountain in Array Medium (33.79 %)   [ 844] Backspace String Compare Easy (45.23 %)   [ 843] Guess the Word Hard (42.13 %)   [ 842] Split Array into Fibonacci Sequence Medium (34.60 %)   [ 841] Keys and Rooms Medium (59.18 %)   [ 840] Magic Squares In Grid Easy (35.17 %)   [ 839] Similar String Groups Hard (33.74 %)   [ 838] Push Dominoes Medium (42.92 %)   [ 837] New 21 Game Medium (29.94 %)   [ 836] Rectangle Overlap Easy (45.65 %)   [ 835] Image Overlap Medium (50.56 %)   [ 834] Sum of Distances in Tree Hard (38.34 %)   [ 833] Find And Replace in String Medium (44.62 %)   [ 832] Flipping an Image Easy (71.46 %)   [ 831] Masking Personal Information Medium (41.55 %)   [ 830] Positions of Large Groups Easy (47.43 %)   [ 829] Consecutive Numbers Sum Hard (32.20 %)   [ 828] Unique Letter String Hard (38.25 %)   [ 827] Making A Large Island Hard (42.36 %)   [ 826] Most Profit Assigning Work Medium (34.75 %)   [ 825] Friends Of Appropriate Ages Medium (35.21 %)   [ 824] Goat Latin Easy (56.84 %)   [ 823] Binary Trees With Factors Medium (31.61 %)   [ 822] Card Flipping Game Medium (39.72 %)   [ 821] Shortest Distance to a Character Easy (62.71 %)   [ 820] Short Encoding of Words Medium (46.09 %)   [ 819] Most Common Word Easy (41.70 %)   [ 818] Race Car Hard (33.99 %)   [ 817] Linked List Components Medium (53.82 %)   [ 816] Ambiguous Coordinates Medium (43.41 %)   [ 815] Bus Routes Hard (38.88 %)   [ 814] Binary Tree Pruning Medium (69.90 %)   [ 813] Largest Sum of Averages Medium (43.83 %)   [ 812] Largest Triangle Area Easy (55.00 %)   [ 811] Subdomain Visit Count Easy (63.83 %)   [ 810] Chalkboard XOR Game Hard (43.16 %)   [ 809] Expressive Words Medium (42.19 %)   [ 808] Soup Servings Medium (35.88 %)   [ 807] Max Increase to Keep City Skyline Medium (80.99 %)   [ 806] Number of Lines To Write String Easy (62.49 %)   [ 805] Split Array With Same Average Hard (23.71 %)   [ 804] Unique Morse Code Words Easy (74.01 %)   [ 803] Bricks Falling When Hit Hard (27.72 %)   [ 802] Find Eventual Safe States Medium (42.57 %)   [ 801] Minimum Swaps To Make Sequences Increasing Medium (33.95 %)   [ 799] Champagne Tower Medium (33.40 %)   [ 798] Smallest Rotation with Highest Score Hard (38.70 %)   [ 797] All Paths From Source to Target Medium (69.51 %)   [ 796] Rotate String Easy (48.73 %)   [ 795] Number of Subarrays with Bounded Maximum Medium (42.48 %)   [ 794] Valid Tic-Tac-Toe State Medium (28.82 %)   [ 793] Preimage Size of Factorial Zeroes Function Hard (39.33 %)   [ 792] Number of Matching Subsequences Medium (41.51 %)   [ 791] Custom Sort String Medium (60.92 %)   [ 790] Domino and Tromino Tiling Medium (34.97 %)   [ 789] Escape The Ghosts Medium (54.85 %)   [ 788] Rotated Digits Easy (53.09 %)   [ 787] Cheapest Flights Within K Stops Medium (33.97 %)   [ 786] K-th Smallest Prime Fraction Hard (38.71 %)   [ 785] Is Graph Bipartite? Medium (42.18 %)   [ 784] Letter Case Permutation Easy (55.29 %)   [ 783] Minimum Distance Between BST Nodes Easy (49.90 %)   [ 782] Transform to Chessboard Hard (39.37 %)   [ 781] Rabbits in Forest Medium (50.69 %)   [ 780] Reaching Points Hard (27.05 %)   [ 779] K-th Symbol in Grammar Medium (37.79 %)   [ 778] Swim in Rising Water Hard (46.78 %)   [ 777] Swap Adjacent in LR String Medium (32.77 %)   [ 775] Global and Local Inversions Medium (37.83 %)   [ 773] Sliding Puzzle Hard (50.46 %)   [ 771] Jewels and Stones Easy (82.73 %)   [ 770] Basic Calculator IV Hard (44.47 %)   [ 769] Max Chunks To Make Sorted Medium (50.98 %)   [ 768] Max Chunks To Make Sorted II Hard (45.09 %)   [ 767] Reorganize String Medium (41.12 %)   [ 766] Toeplitz Matrix Easy (61.15 %)   [ 765] Couples Holding Hands Hard (50.79 %)   [ 764] Largest Plus Sign Medium (42.64 %)   [ 763] Partition Labels Medium (68.34 %)   [ 762] Prime Number of Set Bits in Binary Representation Easy (57.87 %)   [ 761] Special Binary String Hard (49.61 %)   [ 757] Set Intersection Size At Least Two Hard (36.25 %)   [ 756] Pyramid Transition Matrix Medium (50.36 %)   [ 754] Reach a Number Easy (31.59 %)   [ 753] Cracking the Safe Hard (44.71 %)   [ 752] Open the Lock Medium (44.44 %)   [ 749] Contain Virus Hard (40.41 %)   [ 748] Shortest Completing Word Easy (53.39 %)   [ 747] Largest Number At Least Twice of Others Easy (40.24 %)   [ 746] Min Cost Climbing Stairs Easy (45.93 %)   [ 745] Prefix and Suffix Search Hard (29.38 %)   [ 744] Find Smallest Letter Greater Than Target Easy (43.55 %)   [ 743] Network Delay Time Medium (40.07 %)   [ 741] Cherry Pickup Hard (27.82 %)   [ 740] Delete and Earn Medium (45.04 %)   [ 739] Daily Temperatures Medium (59.02 %)   [ 738] Monotone Increasing Digits Medium (41.24 %)   [ 736] Parse Lisp Expression Hard (43.33 %)   [ 735] Asteroid Collision Medium (37.73 %)   [ 733] Flood Fill Easy (49.81 %)   [ 732] My Calendar III Hard (53.39 %)   [ 731] My Calendar II Medium (43.03 %)   [ 730] Count Different Palindromic Subsequences Hard (37.67 %)   [ 729] My Calendar I Medium (46.35 %)   [ 728] Self Dividing Numbers Easy (69.01 %)   [ 726] Number of Atoms Hard (44.05 %)   [ 725] Split Linked List in Parts Medium (48.56 %)   [ 724] Find Pivot Index Easy (40.52 %)   [ 722] Remove Comments Medium (30.31 %)   [ 721] Accounts Merge Medium (38.80 %)   [ 720] Longest Word in Dictionary Easy (43.70 %)   [ 719] Find K-th Smallest Pair Distance Hard (28.57 %)   [ 718] Maximum Length of Repeated Subarray Medium (44.83 %)   [ 717] 1-bit and 2-bit Characters Easy (48.88 %)   [ 715] Range Module Hard (34.26 %)   [ 714] Best Time to Buy and Sell Stock with Transaction Fee Medium (49.45 %)   [ 713] Subarray Product Less Than K Medium (35.83 %)   [ 712] Minimum ASCII Delete Sum for Two Strings Medium (53.32 %)   [ 710] Random Pick with Blacklist Hard (30.59 %)   [ 709] To Lower Case Easy (76.23 %)   [ 707] Design Linked List Easy (23.04 %)   [ 706] Design HashMap Easy (54.35 %)   [ 705] Design HashSet Easy (50.45 %)   [ 704] Binary Search Easy (45.16 %)   [ 703] Kth Largest Element in a Stream Easy (44.84 %)   [ 701] Insert into a Binary Search Tree Medium (73.71 %)   [ 700] Search in a Binary Search Tree Easy (66.77 %)   [ 699] Falling Squares Hard (39.50 %)   [ 698] Partition to K Equal Sum Subsets Medium (41.22 %)   [ 697] Degree of an Array Easy (49.14 %)   [ 696] Count Binary Substrings Easy (52.51 %)   [ 695] Max Area of Island Medium (55.93 %)   [ 693] Binary Number with Alternating Bits Easy (57.53 %)   [ 692] Top K Frequent Words Medium (44.78 %)   [ 691] Stickers to Spell Word Hard (37.45 %)   [ 690] Employee Importance Easy (53.14 %)   [ 689] Maximum Sum of 3 Non-Overlapping Subarrays Hard (43.68 %)   [ 688] Knight Probability in Chessboard Medium (42.84 %)   [ 687] Longest Univalue Path Easy (33.36 %)   [ 686] Repeated String Match Easy (31.31 %)   [ 685] Redundant Connection II Hard (30.04 %)   [ 684] Redundant Connection Medium (50.26 %)   [ 682] Baseball Game Easy (60.24 %)   [ 680] Valid Palindrome II Easy (33.75 %)   [ 679] 24 Game Hard (41.56 %)   [ 678] Valid Parenthesis String Medium (32.03 %)   [ 677] Map Sum Pairs Medium (51.22 %)   [ 676] Implement Magic Dictionary Medium (50.94 %)   [ 675] Cut Off Trees for Golf Event Hard (30.01 %)   [ 674] Longest Continuous Increasing Subsequence Easy (43.77 %)   [ 673] Number of Longest Increasing Subsequence Medium (33.12 %)   [ 672] Bulb Switcher II Medium (49.42 %)   [ 671] Second Minimum Node In a Binary Tree Easy (43.36 %)   [ 670] Maximum Swap Medium (39.27 %)   [ 669] Trim a Binary Search Tree Easy (59.74 %)   [ 668] Kth Smallest Number in Multiplication Table Hard (40.93 %)   [ 667] Beautiful Arrangement II Medium (51.47 %)   [ 665] Non-decreasing Array Easy (19.51 %)   [ 664] Strange Printer Hard (35.45 %)   [ 662] Maximum Width of Binary Tree Medium (39.82 %)   [ 661] Image Smoother Easy (47.89 %)   [ 659] Split Array into Consecutive Subsequences Medium (39.79 %)   [ 658] Find K Closest Elements Medium (37.21 %)   [ 657] Robot Return to Origin Easy (70.76 %)   [ 655] Print Binary Tree Medium (51.03 %)   [ 654] Maximum Binary Tree Medium (75.06 %)   [ 653] Two Sum IV - Input is a BST Easy (51.82 %)   [ 652] Find Duplicate Subtrees Medium (44.17 %)   [ 650] 2 Keys Keyboard Medium (46.08 %)   [ 649] Dota2 Senate Medium (37.14 %)   [ 648] Replace Words Medium (50.71 %)   [ 647] Palindromic Substrings Medium (55.80 %)   [ 646] Maximum Length of Pair Chain Medium (47.95 %)   [ 645] Set Mismatch Easy (40.41 %)   [ 643] Maximum Average Subarray I Easy (39.02 %)   [ 641] Design Circular Deque Medium (48.75 %)   [ 640] Solve the Equation Medium (39.88 %)   [ 639] Decode Ways II Hard (24.67 %)   [ 638] Shopping Offers Medium (47.83 %)   [ 637] Average of Levels in Binary Tree Easy (58.00 %)   [ 636] Exclusive Time of Functions Medium (47.95 %)   [ 633] Sum of Square Numbers Easy (32.80 %)   [ 632] Smallest Range Hard (46.09 %)   [ 630] Course Schedule III Hard (30.87 %)   [ 629] K Inverse Pairs Array Hard (28.73 %)   [ 628] Maximum Product of Three Numbers Easy (45.55 %)   [ 627] Swap Salary Easy (67.55 %)   [ 626] Exchange Seats Medium (52.96 %)   [ 623] Add One Row to Tree Medium (46.90 %)   [ 622] Design Circular Queue Medium (38.17 %)   [ 621] Task Scheduler Medium (44.34 %)   [ 620] Not Boring Movies Easy (61.29 %)   [ 617] Merge Two Binary Trees Easy (69.18 %)   [ 611] Valid Triangle Number Medium (44.37 %)   [ 609] Find Duplicate File in System Medium (54.07 %)   [ 606] Construct String from Binary Tree Easy (51.05 %)   [ 605] Can Place Flowers Easy (30.68 %)   [ 601] Human Traffic of Stadium Hard (35.47 %)   [ 600] Non-negative Integers without Consecutive Ones Hard (32.42 %)   [ 599] Minimum Index Sum of Two Lists Easy (47.24 %)   [ 598] Range Addition II Easy (48.44 %)   [ 596] Classes More Than 5 Students Easy (34.75 %)   [ 595] Big Countries Easy (73.11 %)   [ 594] Longest Harmonious Subsequence Easy (43.02 %)   [ 593] Valid Square Medium (40.13 %)   [ 592] Fraction Addition and Subtraction Medium (46.55 %)   [ 591] Tag Validator Hard (31.76 %)   [ 590] N-ary Tree Postorder Traversal Easy (66.10 %)   [ 589] N-ary Tree Preorder Traversal Easy (66.11 %)   [ 587] Erect the Fence Hard (34.10 %)   [ 583] Delete Operation for Two Strings Medium (44.23 %)   [ 581] Shortest Unsorted Continuous Subarray Easy (29.59 %)   [ 576] Out of Boundary Paths Medium (31.30 %)   [ 575] Distribute Candies Easy (59.15 %)   [ 572] Subtree of Another Tree Easy (41.25 %)   [ 567] Permutation in String Medium (37.71 %)   [ 566] Reshape the Matrix Easy (58.45 %)   [ 565] Array Nesting Medium (51.67 %)   [ 564] Find the Closest Palindrome Hard (18.12 %)   [ 563] Binary Tree Tilt Easy (46.89 %)   [ 561] Array Partition I Easy (68.31 %)   [ 560] Subarray Sum Equals K Medium (41.59 %)   [ 559] Maximum Depth of N-ary Tree Easy (64.46 %)   [ 558] Quad Tree Intersection Easy (39.63 %)   [ 557] Reverse Words in a String III Easy (63.11 %)   [ 556] Next Greater Element III Medium (29.73 %)   [ 554] Brick Wall Medium (47.33 %)   [ 553] Optimal Division Medium (55.05 %)   [ 552] Student Attendance Record II Hard (32.33 %)   [ 551] Student Attendance Record I Easy (45.15 %)   [ 547] Friend Circles Medium (52.51 %)   [ 546] Remove Boxes Hard (37.44 %)   [ 543] Diameter of Binary Tree Easy (46.21 %)   [ 542] 01 Matrix Medium (34.68 %)   [ 541] Reverse String II Easy (45.03 %)   [ 540] Single Element in a Sorted Array Medium (57.03 %)   [ 539] Minimum Time Difference Medium (47.25 %)   [ 538] Convert BST to Greater Tree Easy (49.94 %)   [ 537] Complex Number Multiplication Medium (65.01 %)   [ 535] Encode and Decode TinyURL Medium (75.83 %)   [ 532] K-diff Pairs in an Array Easy (29.34 %)   [ 530] Minimum Absolute Difference in BST Easy (49.79 %)   [ 529] Minesweeper Medium (51.78 %)   [ 528] Random Pick with Weight Medium (42.49 %)   [ 526] Beautiful Arrangement Medium (53.94 %)   [ 525] Contiguous Array Medium (42.34 %)   [ 524] Longest Word in Dictionary through Deleting Medium (45.00 %)   [ 523] Continuous Subarray Sum Medium (24.13 %)   [ 522] Longest Uncommon Subsequence II Medium (32.68 %)   [ 521] Longest Uncommon Subsequence I Easy (56.12 %)   [ 520] Detect Capital Easy (52.23 %)   [ 519] Random Flip Matrix Medium (32.41 %)   [ 518] Coin Change 2 Medium (41.41 %)   [ 517] Super Washing Machines Hard (36.74 %)   [ 516] Longest Palindromic Subsequence Medium (45.40 %)   [ 515] Find Largest Value in Each Tree Row Medium (57.22 %)   [ 514] Freedom Trail Hard (40.28 %)   [ 513] Find Bottom Left Tree Value Medium (57.89 %)   [ 509] Fibonacci Number Easy (66.52 %)   [ 508] Most Frequent Subtree Sum Medium (53.83 %)   [ 507] Perfect Number Easy (33.53 %)   [ 506] Relative Ranks Easy (47.91 %)   [ 504] Base 7 Easy (44.57 %)   [ 503] Next Greater Element II Medium (50.10 %)   [ 502] IPO Hard (37.32 %)   [ 501] Find Mode in Binary Search Tree Easy (38.88 %)   [ 500] Keyboard Row Easy (61.66 %)   [ 498] Diagonal Traverse Medium (44.98 %)   [ 497] Random Point in Non-overlapping Rectangles Medium (35.17 %)   [ 496] Next Greater Element I Easy (58.70 %)   [ 495] Teemo Attacking Medium (51.96 %)   [ 494] Target Sum Medium (44.82 %)   [ 493] Reverse Pairs Hard (22.59 %)   [ 492] Construct the Rectangle Easy (48.39 %)   [ 491] Increasing Subsequences Medium (41.40 %)   [ 488] Zuma Game Hard (37.58 %)   [ 486] Predict the Winner Medium (46.65 %)   [ 485] Max Consecutive Ones Easy (54.46 %)   [ 483] Smallest Good Base Hard (34.04 %)   [ 482] License Key Formatting Easy (40.24 %)   [ 481] Magical String Medium (45.74 %)   [ 480] Sliding Window Median Hard (31.50 %)   [ 479] Largest Palindrome Product Hard (27.11 %)   [ 478] Generate Random Point in a Circle Medium (35.98 %)   [ 477] Total Hamming Distance Medium (48.55 %)   [ 476] Number Complement Easy (62.04 %)   [ 475] Heaters Easy (31.08 %)   [ 474] Ones and Zeroes Medium (39.29 %)   [ 473] Matchsticks to Square Medium (35.72 %)   [ 472] Concatenated Words Hard (33.30 %)   [ 470] Implement Rand10() Using Rand7() Medium (44.26 %)   [ 468] Validate IP Address Medium (20.92 %)   [ 467] Unique Substrings in Wraparound String Medium (33.41 %)   [ 466] Count The Repetitions Hard (27.39 %)   [ 464] Can I Win Medium (26.85 %)   [ 463] Island Perimeter Easy (60.27 %)   [ 462] Minimum Moves to Equal Array Elements II Medium (52.32 %)   [ 461] Hamming Distance Easy (70.01 %)   [ 460] LFU Cache Hard (28.06 %)   [ 459] Repeated Substring Pattern Easy (39.40 %)   [ 458] Poor Pigs Hard (44.89 %)   [ 457] Circular Array Loop Medium (27.32 %)   [ 456] 132 Pattern Medium (27.42 %)   [ 455] Assign Cookies Easy (48.05 %)   [ 454] 4Sum II Medium (49.82 %)   [ 453] Minimum Moves to Equal Array Elements Easy (49.00 %)   [ 452] Minimum Number of Arrows to Burst Balloons Medium (45.70 %)   [ 451] Sort Characters By Frequency Medium (54.99 %)   [ 450] Delete Node in a BST Medium (39.22 %)   [ 449] Serialize and Deserialize BST Medium (45.82 %)   [ 448] Find All Numbers Disappeared in an Array Easy (52.72 %)   [ 447] Number of Boomerangs Easy (49.16 %)   [ 446] Arithmetic Slices II - Subsequence Hard (29.86 %)   [ 445] Add Two Numbers II Medium (49.19 %)   [ 443] String Compression Easy (36.81 %)   [ 442] Find All Duplicates in an Array Medium (59.93 %)   [ 441] Arranging Coins Easy (37.46 %)   [ 440] K-th Smallest in Lexicographical Order Hard (26.18 %)   [ 438] Find All Anagrams in a String Easy (36.37 %)   [ 437] Path Sum III Easy (41.95 %)   [ 436] Find Right Interval Medium (42.30 %)   [ 435] Non-overlapping Intervals Medium (41.35 %)   [ 434] Number of Segments in a String Easy (36.65 %)   [ 433] Minimum Genetic Mutation Medium (37.41 %)   [ 432] All O`one Data Structure Hard (28.91 %)   [ 430] Flatten a Multilevel Doubly Linked List Medium (40.33 %)   [ 429] N-ary Tree Level Order Traversal Easy (58.34 %)   [ 427] Construct Quad Tree Easy (54.54 %)   [ 424] Longest Repeating Character Replacement Medium (43.54 %)   [ 423] Reconstruct Original Digits from English Medium (45.38 %)   [ 421] Maximum XOR of Two Numbers in an Array Medium (50.43 %)   [ 420] Strong Password Checker Hard (17.99 %)   [ 419] Battleships in a Board Medium (65.10 %)   [ 417] Pacific Atlantic Water Flow Medium (36.67 %)   [ 416] Partition Equal Subset Sum Medium (39.86 %)   [ 415] Add Strings Easy (43.02 %)   [ 414] Third Maximum Number Easy (28.64 %)   [ 413] Arithmetic Slices Medium (55.27 %)   [ 412] Fizz Buzz Easy (58.85 %)   [ 410] Split Array Largest Sum Hard (41.66 %)   [ 409] Longest Palindrome Easy (47.43 %)   [ 407] Trapping Rain Water II Hard (38.82 %)   [ 406] Queue Reconstruction by Height Medium (58.89 %)   [ 405] Convert a Number to Hexadecimal Easy (41.68 %)   [ 404] Sum of Left Leaves Easy (48.70 %)   [ 403] Frog Jump Hard (35.39 %)   [ 402] Remove K Digits Medium (26.15 %)   [ 401] Binary Watch Easy (45.05 %)   [ 400] Nth Digit Easy (30.09 %)   [ 399] Evaluate Division Medium (46.60 %)   [ 398] Random Pick Index Medium (48.85 %)   [ 397] Integer Replacement Medium (31.06 %)   [ 396] Rotate Function Medium (34.90 %)   [ 395] Longest Substring with At Least K Repeating Characters Medium (37.85 %)   [ 394] Decode String Medium (43.83 %)   [ 393] UTF-8 Validation Medium (35.46 %)   [ 392] Is Subsequence Medium (46.19 %)   [ 391] Perfect Rectangle Hard (27.96 %)   [ 390] Elimination Game Medium (43.31 %)   [ 389] Find the Difference Easy (52.69 %)   [ 388] Longest Absolute File Path Medium (38.70 %)   [ 387] First Unique Character in a String Easy (49.15 %)   [ 386] Lexicographical Numbers Medium (44.79 %)   [ 385] Mini Parser Medium (31.55 %)   [ 384] Shuffle an Array Medium (49.44 %)   [ 383] Ransom Note Easy (49.25 %)   [ 382] Linked List Random Node Medium (48.75 %)   [ 381] Insert Delete GetRandom O(1) - Duplicates allowed Hard (31.45 %)   [ 380] Insert Delete GetRandom O(1) Medium (41.97 %)   [ 378] Kth Smallest Element in a Sorted Matrix Medium (48.38 %)   [ 377] Combination Sum IV Medium (43.72 %)   [ 376] Wiggle Subsequence Medium (36.89 %)   [ 375] Guess Number Higher or Lower II Medium (37.20 %)   [ 374] Guess Number Higher or Lower Easy (38.71 %)   [ 373] Find K Pairs with Smallest Sums Medium (33.19 %)   [ 372] Super Pow Medium (35.44 %)   [ 371] Sum of Two Integers Easy (51.22 %)   [ 368] Largest Divisible Subset Medium (34.48 %)   [ 367] Valid Perfect Square Easy (39.38 %)   [ 365] Water and Jug Problem Medium (28.72 %)   [ 363] Max Sum of Rectangle No Larger Than K Hard (34.74 %)   [ 357] Count Numbers with Unique Digits Medium (46.61 %)   [ 355] Design Twitter Medium (26.87 %)   [ 354] Russian Doll Envelopes Hard (33.57 %)   [ 352] Data Stream as Disjoint Intervals Hard (42.90 %)   [ 350] Intersection of Two Arrays II Easy (46.74 %)   [ 349] Intersection of Two Arrays Easy (52.89 %)   [ 347] Top K Frequent Elements Medium (53.43 %)   [ 345] Reverse Vowels of a String Easy (40.84 %)   [ 344] Reverse String Easy (62.75 %)   [ 343] Integer Break Medium (47.31 %)   [ 342] Power of Four Easy (39.97 %)   [ 341] Flatten Nested List Iterator Medium (46.77 %)   [ 338] Counting Bits Medium (63.97 %)   [ 337] House Robber III Medium (47.32 %)   [ 336] Palindrome Pairs Hard (30.14 %)   [ 335] Self Crossing Hard (26.87 %)   [ 334] Increasing Triplet Subsequence Medium (39.44 %)   [ 332] Reconstruct Itinerary Medium (30.56 %)   [ 331] Verify Preorder Serialization of a Binary Tree Medium (38.16 %)   [ 330] Patching Array Hard (33.17 %)   [ 329] Longest Increasing Path in a Matrix Hard (39.24 %)   [ 328] Odd Even Linked List Medium (48.11 %)   [ 327] Count of Range Sum Hard (32.02 %)   [ 326] Power of Three Easy (41.38 %)   [ 324] Wiggle Sort II Medium (27.49 %)   [ 322] Coin Change Medium (29.11 %)   [ 321] Create Maximum Number Hard (25.16 %)   [ 319] Bulb Switcher Medium (43.63 %)   [ 318] Maximum Product of Word Lengths Medium (47.82 %)   [ 316] Remove Duplicate Letters Hard (31.92 %)   [ 315] Count of Smaller Numbers After Self Hard (37.28 %)   [ 313] Super Ugly Number Medium (40.55 %)   [ 312] Burst Balloons Hard (46.24 %)   [ 310] Minimum Height Trees Medium (29.75 %)   [ 309] Best Time to Buy and Sell Stock with Cooldown Medium (43.45 %)   [ 307] Range Sum Query - Mutable Medium (27.47 %)   [ 306] Additive Number Medium (28.15 %)   [ 304] Range Sum Query 2D - Immutable Medium (31.18 %)   [ 303] Range Sum Query - Immutable Easy (36.63 %)   [ 301] Remove Invalid Parentheses Hard (38.39 %)   [ 300] Longest Increasing Subsequence Medium (40.19 %)   [ 299] Bulls and Cows Medium (38.62 %)   [ 297] Serialize and Deserialize Binary Tree Hard (39.35 %)   [ 295] Find Median from Data Stream Hard (34.87 %)   [ 292] Nim Game Easy (55.48 %)   [ 290] Word Pattern Easy (34.52 %)   [ 289] Game of Life Medium (43.35 %)   [ 287] Find the Duplicate Number Medium (48.31 %)   [ 284] Peeking Iterator Medium (39.39 %)   [ 283] Move Zeroes Easy (53.60 %)   [ 282] Expression Add Operators Hard (32.23 %)   [ 279] Perfect Squares Medium (40.80 %)   [ 278] First Bad Version Easy (28.94 %)   [ 275] H-Index II Medium (35.16 %)   [ 274] H-Index Medium (34.40 %)   [ 273] Integer to English Words Hard (23.85 %)   [ 268] Missing Number Easy (47.52 %)   [ 264] Ugly Number II Medium (35.56 %)   [ 263] Ugly Number Easy (40.35 %)   [ 262] Trips and Users Hard (23.37 %)   [ 260] Single Number III Medium (56.13 %)   [ 258] Add Digits Easy (53.51 %)   [ 257] Binary Tree Paths Easy (44.98 %)   [ 242] Valid Anagram Easy (50.92 %)   [ 241] Different Ways to Add Parentheses Medium (48.88 %)   [ 240] Search a 2D Matrix II Medium (40.26 %)   [ 239] Sliding Window Maximum Hard (37.08 %)   [ 238] Product of Array Except Self Medium (53.84 %)   ✔ [ 237] Delete Node in a Linked List Easy (51.97 %)   [ 236] Lowest Common Ancestor of a Binary Tree Medium (35.41 %)   [ 235] Lowest Common Ancestor of a Binary Search Tree Easy (43.42 %)   [ 234] Palindrome Linked List Easy (35.30 %)   [ 233] Number of Digit One Hard (29.87 %)   [ 232] Implement Queue using Stacks Easy (42.02 %)   [ 231] Power of Two Easy (41.62 %)   [ 230] Kth Smallest Element in a BST Medium (49.91 %)   [ 229] Majority Element II Medium (31.28 %)   [ 228] Summary Ranges Medium (35.18 %)   [ 227] Basic Calculator II Medium (32.60 %)   [ 226] Invert Binary Tree Easy (57.00 %)   [ 225] Implement Stack using Queues Easy (37.96 %)   [ 224] Basic Calculator Hard (31.73 %)   [ 223] Rectangle Area Medium (35.50 %)   [ 222] Count Complete Tree Nodes Medium (31.40 %)   ✔ [ 221] Maximal Square Medium (32.24 %)   [ 220] Contains Duplicate III Medium (19.42 %)   [ 219] Contains Duplicate II Easy (34.69 %)   [ 218] The Skyline Problem Hard (31.05 %)   [ 217] Contains Duplicate Easy (50.79 %)   [ 216] Combination Sum III Medium (50.45 %)   ✔ [ 215] Kth Largest Element in an Array Medium (45.94 %)   [ 214] Shortest Palindrome Hard (27.05 %)   [ 213] House Robber II Medium (35.07 %)   [ 212] Word Search II Hard (27.56 %)   [ 211] Add and Search Word - Data structure design Medium (29.14 %)   [ 210] Course Schedule II Medium (33.63 %)   [ 209] Minimum Size Subarray Sum Medium (34.23 %)   [ 208] Implement Trie (Prefix Tree) Medium (36.74 %)   [ 207] Course Schedule Medium (36.65 %)   [ 206] Reverse Linked List Easy (52.72 %)   [ 205] Isomorphic Strings Easy (36.71 %)   [ 204] Count Primes Easy (28.23 %)   [ 203] Remove Linked List Elements Easy (35.24 %)   [ 202] Happy Number Easy (44.27 %)   [ 201] Bitwise AND of Numbers Range Medium (35.54 %)   [ 200] Number of Islands Medium (40.26 %)   [ 199] Binary Tree Right Side View Medium (46.58 %)   [ 198] House Robber Easy (40.77 %)   [ 197] Rising Temperature Easy (33.61 %)   [ 196] Delete Duplicate Emails Easy (30.67 %)   [ 195] Tenth Line Easy (34.03 %)   [ 194] Transpose File Medium (22.34 %)   [ 193] Valid Phone Numbers Easy (25.02 %)   [ 192] Word Frequency Medium (26.60 %)   [ 191] Number of 1 Bits Easy (41.98 %)   [ 190] Reverse Bits Easy (30.18 %)   [ 189] Rotate Array Easy (28.92 %)   [ 188] Best Time to Buy and Sell Stock IV Hard (25.91 %)   [ 187] Repeated DNA Sequences Medium (35.33 %)   [ 185] Department Top Three Salaries Hard (23.82 %)   [ 184] Department Highest Salary Medium (27.00 %)   [ 183] Customers Who Never Order Easy (42.80 %)   [ 182] Duplicate Emails Easy (52.42 %)   [ 181] Employees Earning More Than Their Managers Easy (46.32 %)   [ 180] Consecutive Numbers Medium (32.06 %)   [ 179] Largest Number Medium (25.23 %)   [ 178] Rank Scores Medium (34.72 %)   [ 177] Nth Highest Salary Medium (24.82 %)   [ 176] Second Highest Salary Easy (26.14 %)   [ 175] Combine Two Tables Easy (49.25 %)   [ 174] Dungeon Game Hard (26.47 %)   [ 173] Binary Search Tree Iterator Medium (47.06 %)   [ 172] Factorial Trailing Zeroes Easy (37.26 %)   [ 171] Excel Sheet Column Number Easy (50.84 %)   [ 169] Majority Element Easy (51.49 %)   [ 168] Excel Sheet Column Title Easy (28.51 %)   [ 167] Two Sum II - Input array is sorted Easy (49.30 %)   [ 166] Fraction to Recurring Decimal Medium (19.17 %)   [ 165] Compare Version Numbers Medium (22.68 %)   [ 164] Maximum Gap Hard (31.83 %)   [ 162] Find Peak Element Medium (40.72 %)   [ 160] Intersection of Two Linked Lists Easy (32.27 %)   [ 155] Min Stack Easy (35.64 %)   [ 154] Find Minimum in Rotated Sorted Array II Hard (38.96 %)   [ 153] Find Minimum in Rotated Sorted Array Medium (42.46 %)   [ 152] Maximum Product Subarray Medium (28.53 %)   [ 151] Reverse Words in a String Medium (15.87 %)   [ 150] Evaluate Reverse Polish Notation Medium (31.33 %)   [ 149] Max Points on a Line Hard (15.55 %)   [ 148] Sort List Medium (33.91 %)   [ 147] Insertion Sort List Medium (36.38 %)   [ 146] LRU Cache Hard (24.00 %)   [ 145] Binary Tree Postorder Traversal Hard (46.87 %)   [ 144] Binary Tree Preorder Traversal Medium (50.23 %)   [ 143] Reorder List Medium (29.79 %)   [ 142] Linked List Cycle II Medium (30.89 %)   [ 141] Linked List Cycle Easy (35.73 %)   [ 140] Word Break II Hard (26.65 %)   [ 139] Word Break Medium (34.32 %)   [ 138] Copy List with Random Pointer Medium (25.73 %)   [ 137] Single Number II Medium (45.13 %)   [ 136] Single Number Easy (58.99 %)   [ 135] Candy Hard (27.72 %)   [ 134] Gas Station Medium (32.88 %)   [ 133] Clone Graph Medium (25.22 %)   [ 132] Palindrome Partitioning II Hard (26.70 %)   [ 131] Palindrome Partitioning Medium (39.57 %)   [ 130] Surrounded Regions Medium (22.10 %)   [ 129] Sum Root to Leaf Numbers Medium (41.39 %)   [ 128] Longest Consecutive Sequence Hard (40.87 %)   [ 127] Word Ladder Medium (22.94 %)   [ 126] Word Ladder II Hard (16.98 %)   [ 125] Valid Palindrome Easy (30.21 %)   [ 124] Binary Tree Maximum Path Sum Hard (29.29 %)   [ 123] Best Time to Buy and Sell Stock III Hard (32.91 %)   [ 122] Best Time to Buy and Sell Stock II Easy (50.89 %)   [ 121] Best Time to Buy and Sell Stock Easy (46.21 %)   [ 120] Triangle Medium (38.31 %)   [ 119] Pascal's Triangle II Easy (42.03 %)   ✔ [ 118] Pascal's Triangle Easy (44.54 %)   [ 117] Populating Next Right Pointers in Each Node II Medium (33.47 %)   [ 116] Populating Next Right Pointers in Each Node Medium (36.74 %)   [ 115] Distinct Subsequences Hard (34.51 %)   [ 114] Flatten Binary Tree to Linked List Medium (41.08 %)   [ 113] Path Sum II Medium (39.42 %)   [ 112] Path Sum Easy (37.02 %)   [ 111] Minimum Depth of Binary Tree Easy (34.84 %)   [ 110] Balanced Binary Tree Easy (40.35 %)   [ 109] Convert Sorted List to Binary Search Tree Medium (39.56 %)   ✔ [ 108] Convert Sorted Array to Binary Search Tree Easy (49.24 %)   [ 107] Binary Tree Level Order Traversal II Easy (45.63 %)   [ 106] Construct Binary Tree from Inorder and Postorder Traversal Medium (37.93 %)   [ 105] Construct Binary Tree from Preorder and Inorder Traversal Medium (39.44 %)   ✔ [ 104] Maximum Depth of Binary Tree Easy (59.18 %)   [ 103] Binary Tree Zigzag Level Order Traversal Medium (40.44 %)   ✔ [ 102] Binary Tree Level Order Traversal Medium (47.01 %)   [ 101] Symmetric Tree Easy (42.70 %)   [ 100] Same Tree Easy (49.39 %)   [ 99 ] Recover Binary Search Tree Hard (33.85 %)   [ 98 ] Validate Binary Search Tree Medium (25.22 %)   [ 97 ] Interleaving String Hard (27.28 %)   [ 96 ] Unique Binary Search Trees Medium (45.08 %)   [ 95 ] Unique Binary Search Trees II Medium (34.78 %)   [ 94 ] Binary Tree Inorder Traversal Medium (55.03 %)   [ 93 ] Restore IP Addresses Medium (30.69 %)   [ 92 ] Reverse Linked List II Medium (34.03 %)   [ 91 ] Decode Ways Medium (21.87 %)   [ 90 ] Subsets II Medium (41.43 %)   [ 89 ] Gray Code Medium (44.93 %)   [ 88 ] Merge Sorted Array Easy (34.84 %)   [ 87 ] Scramble String Hard (31.10 %)   [ 86 ] Partition List Medium (36.29 %)   [ 85 ] Maximal Rectangle Hard (32.38 %)   [ 84 ] Largest Rectangle in Histogram Hard (30.24 %)   [ 83 ] Remove Duplicates from Sorted List Easy (41.90 %)   [ 82 ] Remove Duplicates from Sorted List II Medium (32.18 %)   [ 81 ] Search in Rotated Sorted Array II Medium (32.50 %)   [ 80 ] Remove Duplicates from Sorted Array II Medium (39.50 %)   [ 79 ] Word Search Medium (30.38 %)   [ 78 ] Subsets Medium (50.96 %)   [ 77 ] Combinations Medium (45.99 %)   [ 76 ] Minimum Window Substring Hard (29.84 %)   [ 75 ] Sort Colors Medium (41.31 %)   [ 74 ] Search a 2D Matrix Medium (34.67 %)   [ 73 ] Set Matrix Zeroes Medium (38.95 %)   [ 72 ] Edit Distance Hard (36.41 %)   [ 71 ] Simplify Path Medium (28.12 %)   ✔ [ 70 ] Climbing Stairs Easy (43.42 %)   ✔ [ 69 ] Sqrt(x) Easy (30.66 %)   [ 68 ] Text Justification Hard (22.45 %)   [ 67 ] Add Binary Easy (37.93 %)   [ 66 ] Plus One Easy (40.67 %)   [ 65 ] Valid Number Hard (13.78 %)   [ 64 ] Minimum Path Sum Medium (45.52 %)   [ 63 ] Unique Paths II Medium (33.22 %)   [ 62 ] Unique Paths Medium (46.35 %)   [ 61 ] Rotate List Medium (26.49 %)   [ 60 ] Permutation Sequence Medium (32.27 %)   [ 59 ] Spiral Matrix II Medium (45.32 %)   [ 58 ] Length of Last Word Easy (32.15 %)   [ 57 ] Insert Interval Hard (30.73 %)   [ 56 ] Merge Intervals Medium (34.81 %)   [ 55 ] Jump Game Medium (31.30 %)   [ 54 ] Spiral Matrix Medium (29.61 %)   ✔ [ 53 ] Maximum Subarray Easy (42.78 %)   [ 52 ] N-Queens II Hard (50.65 %)   [ 51 ] N-Queens Hard (37.68 %)   [ 50 ] Pow(x, n) Medium (27.53 %)   [ 49 ] Group Anagrams Medium (44.74 %)   ✔ [ 48 ] Rotate Image Medium (46.79 %)   [ 47 ] Permutations II Medium (39.14 %)   [ 46 ] Permutations Medium (53.37 %)   [ 45 ] Jump Game II Hard (27.46 %)   [ 44 ] Wildcard Matching Hard (22.36 %)   [ 43 ] Multiply Strings Medium (29.94 %)   ✔ [ 42 ] Trapping Rain Water Hard (41.88 %)   [ 41 ] First Missing Positive Hard (28.21 %)   [ 40 ] Combination Sum II Medium (40.14 %)   [ 39 ] Combination Sum Medium (46.67 %)   [ 38 ] Count and Say Easy (39.51 %)   [ 37 ] Sudoku Solver Hard (35.57 %)   ✔ [ 36 ] Valid Sudoku Medium (41.84 %)   [ 35 ] Search Insert Position Easy (40.45 %)   [ 34 ] Find First and Last Position of Element in Sorted Array Medium (32.97 %)   [ 33 ] Search in Rotated Sorted Array Medium (32.64 %)   [ 32 ] Longest Valid Parentheses Hard (24.91 %)   [ 31 ] Next Permutation Medium (30.03 %)   [ 30 ] Substring with Concatenation of All Words Hard (23.13 %)   [ 29 ] Divide Two Integers Medium (16.07 %)   ✔ [ 28 ] Implement strStr() Easy (31.24 %)   [ 27 ] Remove Element Easy (43.57 %)   [ 26 ] Remove Duplicates from Sorted Array Easy (39.64 %)   [ 25 ] Reverse Nodes in k-Group Hard (35.32 %)   [ 24 ] Swap Nodes in Pairs Medium (43.15 %)   [ 23 ] Merge k Sorted Lists Hard (32.95 %)   [ 22 ] Generate Parentheses Medium (53.14 %)   ✔ [ 21 ] Merge Two Sorted Lists Easy (45.83 %)   [ 20 ] Valid Parentheses Easy (35.88 %)   [ 19 ] Remove Nth Node From End of List Medium (33.99 %)   [ 18 ] 4Sum Medium (29.70 %)   [ 17 ] Letter Combinations of a Phone Number Medium (40.37 %)   [ 16 ] 3Sum Closest Medium (40.61 %)   [ 15 ] 3Sum Medium (23.40 %)   [ 14 ] Longest Common Prefix Easy (33.00 %)   [ 13 ] Roman to Integer Easy (51.55 %)   [ 12 ] Integer to Roman Medium (49.76 %)   [ 11 ] Container With Most Water Medium (42.61 %)   [ 10 ] Regular Expression Matching Hard (24.97 %)   [ 9 ] Palindrome Number Easy (41.96 %)   ✔ [ 8 ] String to Integer (atoi) Medium (14.50 %)   ✔ [ 7 ] Reverse Integer Easy (25.13 %)   [ 6 ] ZigZag Conversion Medium (30.68 %)   ✔ [ 5 ] Longest Palindromic Substring Medium (26.59 %)   ✔ [ 4 ] Median of Two Sorted Arrays Hard (25.54 %)   ✔ [ 3 ] Longest Substring Without Repeating Characters Medium (27.94 %)   ✔ [ 2 ] Add Two Numbers Medium (30.58 %)   ✔ [ 1 ] Two Sum Easy (41.94 %) [40] Combination Sum II //leetcode.com/problems/combination-sum-ii/description/ Tags: algorithms snapchat array backtracking Langs: c cpp csharp golang java javascript kotlin php python python3 ruby rust scala swift * algorithms * Medium (40.14%) * Likes: 929 * Dislikes: 49 * Total Accepted: 234.1K * Total Submissions: 550.8K * Testcase Example: '[10,1,2,7,6,1,5]\n8' <p>Given a collection of candidate numbers (<code>candidates</code>) and a target number (<code>target</code>), find all unique combinations in <code>candidates</code>&nbsp;where the candidate numbers sums to <code>target</code>.</p> <p>Each number in <code>candidates</code>&nbsp;may only be used <strong>once</strong> in the combination.</p> <p><strong>Note:</strong></p> <ul> <li>All numbers (including <code>target</code>) will be positive integers.</li> <li>The solution set must not contain duplicate combinations.</li> </ul> <p><strong>Example 1:</strong></p> <pre> <strong>Input:</strong> candidates =&nbsp;<code>[10,1,2,7,6,1,5]</code>, target =&nbsp;<code>8</code>, <strong>A solution set is:</strong> [ [1, 7], [1, 2, 5], [2, 6], [1, 1, 6] ] </pre> <p><strong>Example 2:</strong></p> <pre> <strong>Input:</strong> candidates =&nbsp;[2,5,2,1,2], target =&nbsp;5, <strong>A solution set is:</strong> [ &nbsp; [1,2,2], &nbsp; [5] ] </pre>

Toplist

Latest post

TAGs