Open sharpninja opened 3 years ago
v10.19.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
------------------------------------------------------------
✔ sharp_ninja https://leetcode.com
[1745] Palindrome Partitioning IV Hard (48.74 %)
[1744] Can You Eat Your Favorite Candy on Your Favorite Day? Medium (30.21 %)
[1743] Restore the Array From Adjacent Pairs Medium (61.89 %)
[1742] Maximum Number of Balls in a Box Easy (74.84 %)
[1739] Building Boxes Hard (49.48 %)
[1738] Find Kth Largest XOR Coordinate Value Medium (62.03 %)
[1737] Change Minimum Characters to Satisfy One of Three Conditions Medium (28.84 %)
[1736] Latest Time by Replacing Hidden Digits Easy (41.42 %)
[1735] Count Ways to Make Array With Product Hard (49.48 %)
[1734] Decode XORed Permutation Medium (50.32 %)
[1733] Minimum Number of People to Teach Medium (36.39 %)
[1732] Find the Highest Altitude Easy (82.04 %)
[1728] Cat and Mouse II Hard (40.94 %)
[1727] Largest Submatrix With Rearrangements Medium (58.16 %)
[1726] Tuple with Same Product Medium (55.04 %)
[1725] Number Of Rectangles That Can Form The Largest Square Easy (77.60 %)
[1723] Find Minimum Time to Finish All Jobs Hard (44.41 %)
[1722] Minimize Hamming Distance After Swap Operations Medium (55.41 %)
[1721] Swapping Nodes in a Linked List Medium (64.92 %)
[1720] Decode XORed Array Easy (85.89 %)
[1719] Number Of Ways To Reconstruct A Tree Hard (39.51 %)
[1718] Construct the Lexicographically Largest Valid Sequence Medium (44.20 %)
[1717] Maximum Score From Removing Substrings Medium (39.53 %)
[1716] Calculate Money in Leetcode Bank Easy (67.84 %)
[1713] Minimum Operations to Make a Subsequence Hard (45.66 %)
[1712] Ways to Split Array Into Three Subarrays Medium (29.82 %)
[1711] Count Good Meals Medium (26.01 %)
[1710] Maximum Units on a Truck Easy (70.67 %)
[1707] Maximum XOR With an Element From Array Hard (47.52 %)
[1706] Where Will the Ball Fall Medium (59.10 %)
[1705] Maximum Number of Eaten Apples Medium (42.07 %)
[1704] Determine if String Halves Are Alike Easy (77.82 %)
[1703] Minimum Adjacent Swaps for K Consecutive Ones Hard (40.26 %)
[1702] Maximum Binary String After Change Medium (60.54 %)
[1701] Average Waiting Time Medium (61.39 %)
[1700] Number of Students Unable to Eat Lunch Easy (69.45 %)
[1697] Checking Existence of Edge Length Limited Paths Hard (55.93 %)
[1696] Jump Game VI Medium (54.24 %)
[1695] Maximum Erasure Value Medium (49.57 %)
[1694] Reformat Phone Number Easy (66.59 %)
[1691] Maximum Height by Stacking Cuboids Hard (49.97 %)
[1690] Stone Game VII Medium (47.46 %)
[1689] Partitioning Into Minimum Number Of Deci-Binary Numbers Medium (87.45 %)
[1688] Count of Matches in Tournament Easy (82.71 %)
[1687] Delivering Boxes from Storage to Ports Hard (34.73 %)
[1686] Stone Game VI Medium (48.99 %)
[1685] Sum of Absolute Differences in a Sorted Array Medium (61.88 %)
[1684] Count the Number of Consistent Strings Easy (83.45 %)
[1681] Minimum Incompatibility Hard (35.26 %)
[1680] Concatenation of Consecutive Binary Numbers Medium (52.39 %)
[1679] Max Number of K-Sum Pairs Medium (54.25 %)
[1678] Goal Parser Interpretation Easy (85.99 %)
[1675] Minimize Deviation in Array Hard (48.52 %)
[1674] Minimum Moves to Make Array Complementary Medium (34.65 %)
[1673] Find the Most Competitive Subsequence Medium (45.19 %)
[1672] Richest Customer Wealth Easy (88.45 %)
[1671] Minimum Number of Removals to Make Mountain Array Hard (45.57 %)
[1670] Design Front Middle Back Queue Medium (54.69 %)
[1669] Merge In Between Linked Lists Medium (77.46 %)
[1668] Maximum Repeating Substring Easy (38.60 %)
[1665] Minimum Initial Energy to Finish Tasks Hard (66.74 %)
[1664] Ways to Make a Fair Array Medium (60.57 %)
[1663] Smallest String With A Given Numeric Value Medium (64.31 %)
[1662] Check If Two String Arrays are Equivalent Easy (83.38 %)
[1659] Maximize Grid Happiness Hard (35.48 %)
[1658] Minimum Operations to Reduce X to Zero Medium (33.39 %)
[1657] Determine if Two Strings Are Close Medium (55.39 %)
[1656] Design an Ordered Stream Easy (82.19 %)
[1655] Distribute Repeating Integers Hard (40.50 %)
[1654] Minimum Jumps to Reach Home Medium (26.18 %)
[1653] Minimum Deletions to Make String Balanced Medium (50.53 %)
[1652] Defuse the Bomb Easy (63.19 %)
[1649] Create Sorted Array through Instructions Hard (36.32 %)
[1648] Sell Diminishing-Valued Colored Balls Medium (30.76 %)
[1647] Minimum Deletions to Make Character Frequencies Unique Medium (54.25 %)
[1646] Get Maximum in Generated Array Easy (53.48 %)
[1643] Kth Smallest Instructions Hard (43.31 %)
[1642] Furthest Building You Can Reach Medium (50.68 %)
[1641] Count Sorted Vowel Strings Medium (77.08 %)
[1640] Check Array Formation Through Concatenation Easy (60.24 %)
[1639] Number of Ways to Form a Target String Given a Dictionary Hard (39.62 %)
[1638] Count Substrings That Differ by One Character Medium (68.56 %)
[1637] Widest Vertical Area Between Two Points Containing No Points Medium (83.90 %)
[1636] Sort Array by Increasing Frequency Easy (67.21 %)
[1632] Rank Transform of a Matrix Hard (30.76 %)
[1631] Path With Minimum Effort Medium (50.10 %)
[1630] Arithmetic Subarrays Medium (77.60 %)
[1629] Slowest Key Easy (59.24 %)
[1627] Graph Connectivity With Threshold Hard (38.50 %)
[1626] Best Team With No Conflicts Medium (37.66 %)
[1625] Lexicographically Smallest String After Applying Operations Medium (63.70 %)
[1624] Largest Substring Between Two Equal Characters Easy (58.99 %)
[1622] Fancy Sequence Hard (15.39 %)
[1621] Number of Sets of K Non-Overlapping Line Segments Medium (41.11 %)
[1620] Coordinate With Maximum Network Quality Medium (37.08 %)
[1619] Mean of Array After Removing Some Elements Easy (65.14 %)
[1617] Count Subtrees With Max Distance Between Cities Hard (63.61 %)
[1616] Split Two Strings to Make Palindrome Medium (36.35 %)
[1615] Maximal Network Rank Medium (51.84 %)
[1614] Maximum Nesting Depth of the Parentheses Easy (83.23 %)
[1611] Minimum One Bit Operations to Make Integers Zero Hard (57.43 %)
[1610] Maximum Number of Visible Points Hard (28.85 %)
[1609] Even Odd Tree Medium (53.11 %)
[1608] Special Array With X Elements Greater Than or Equal X Easy (61.73 %)
[1606] Find Servers That Handled Most Number of Requests Hard (36.95 %)
[1605] Find Valid Matrix Given Row and Column Sums Medium (77.28 %)
[1604] Alert Using Same Key-Card Three or More Times in a One Hour Period Medium (42.25 %)
[1603] Design Parking System Easy (86.54 %)
[1601] Maximum Number of Achievable Transfer Requests Hard (47.71 %)
[1600] Throne Inheritance Medium (60.11 %)
[1599] Maximum Profit of Operating a Centennial Wheel Medium (43.52 %)
[1598] Crawler Log Folder Easy (64.14 %)
[1595] Minimum Cost to Connect Two Groups of Points Hard (42.93 %)
[1594] Maximum Non Negative Product in a Matrix Medium (31.93 %)
[1593] Split a String Into the Max Number of Unique Substrings Medium (48.75 %)
[1592] Rearrange Spaces Between Words Easy (43.77 %)
[1591] Strange Printer II Hard (55.04 %)
[1590] Make Sum Divisible by P Medium (27.04 %)
[1589] Maximum Sum Obtained of Any Permutation Medium (34.81 %)
[1588] Sum of All Odd Length Subarrays Easy (82.11 %)
[1585] Check If String Is Transformable With Substring Sort Operations Hard (48.22 %)
[1584] Min Cost to Connect All Points Medium (51.29 %)
[1583] Count Unhappy Friends Medium (54.22 %)
[1582] Special Positions in a Binary Matrix Easy (64.36 %)
[1579] Remove Max Number of Edges to Keep Graph Fully Traversable Hard (46.25 %)
[1578] Minimum Deletion Cost to Avoid Repeating Letters Medium (60.47 %)
[1577] Number of Ways Where Square of Number Is Equal to Product of Two Numbers Medium (37.37 %)
[1576] Replace All ?'s to Avoid Consecutive Repeating Characters Easy (48.30 %)
[1575] Count All Possible Routes Hard (57.43 %)
[1574] Shortest Subarray to be Removed to Make Array Sorted Medium (33.23 %)
[1573] Number of Ways to Split a String Medium (30.98 %)
[1572] Matrix Diagonal Sum Easy (78.36 %)
[1569] Number of Ways to Reorder Array to Get Same BST Hard (50.15 %)
[1568] Minimum Number of Days to Disconnect Island Hard (50.29 %)
[1567] Maximum Length of Subarray With Positive Product Medium (36.67 %)
[1566] Detect Pattern of Length M Repeated K or More Times Easy (42.45 %)
[1563] Stone Game V Hard (40.06 %)
[1562] Find Latest Group of Size M Medium (39.55 %)
[1561] Maximum Number of Coins You Can Get Medium (77.72 %)
[1560] Most Visited Sector in a Circular Track Easy (56.88 %)
[1559] Detect Cycles in 2D Grid Hard (44.33 %)
[1558] Minimum Numbers of Function Calls to Make Target Array Medium (62.57 %)
[1557] Minimum Number of Vertices to Reach All Nodes Medium (75.56 %)
[1556] Thousand Separator Easy (57.89 %)
[1553] Minimum Number of Days to Eat N Oranges Hard (29.52 %)
[1552] Magnetic Force Between Two Balls Medium (48.81 %)
[1551] Minimum Operations to Make Array Equal Medium (77.95 %)
[1550] Three Consecutive Odds Easy (64.98 %)
[1547] Minimum Cost to Cut a Stick Hard (52.35 %)
[1546] Maximum Number of Non-Overlapping Subarrays With Sum Equals Target Medium (43.73 %)
[1545] Find Kth Bit in Nth Binary String Medium (57.47 %)
[1544] Make The String Great Easy (55.26 %)
[1542] Find Longest Awesome Substring Hard (36.61 %)
[1541] Minimum Insertions to Balance a Parentheses String Medium (42.63 %)
[1540] Can Convert String in K Moves Medium (30.69 %)
[1539] Kth Missing Positive Number Easy (55.11 %)
[1537] Get the Maximum Score Hard (36.38 %)
[1536] Minimum Swaps to Arrange a Binary Grid Medium (43.31 %)
[1535] Find the Winner of an Array Game Medium (47.35 %)
[1534] Count Good Triplets Easy (80.38 %)
[1531] String Compression II Hard (33.77 %)
[1530] Number of Good Leaf Nodes Pairs Medium (56.03 %)
[1529] Bulb Switcher IV Medium (70.91 %)
[1528] Shuffle String Easy (85.77 %)
[1526] Minimum Number of Increments on Subarrays to Form a Target Array Hard (60.02 %)
[1525] Number of Good Ways to Split a String Medium (66.49 %)
[1524] Number of Sub-arrays With Odd Sum Medium (39.83 %)
[1523] Count Odd Numbers in an Interval Range Easy (54.73 %)
[1521] Find a Value of a Mysterious Function Closest to Target Hard (44.37 %)
[1520] Maximum Number of Non-Overlapping Substrings Hard (36.21 %)
[1519] Number of Nodes in the Sub-Tree With the Same Label Medium (36.99 %)
[1518] Water Bottles Easy (60.70 %)
[1515] Best Position for a Service Centre Hard (37.08 %)
[1514] Path with Maximum Probability Medium (39.81 %)
[1513] Number of Substrings With Only 1s Medium (41.54 %)
[1512] Number of Good Pairs Easy (87.77 %)
[1510] Stone Game IV Hard (58.83 %)
[1509] Minimum Difference Between Largest and Smallest Value in Three Moves Medium (51.93 %)
[1508] Range Sum of Sorted Subarray Sums Medium (61.39 %)
[1507] Reformat Date Easy (60.12 %)
[1505] Minimum Possible Integer After at Most K Adjacent Swaps On Digits Hard (36.31 %)
[1504] Count Submatrices With All Ones Medium (60.97 %)
[1503] Last Moment Before All Ants Fall Out of a Plank Medium (53.10 %)
[1502] Can Make Arithmetic Progression From Sequence Easy (71.24 %)
[1499] Max Value of Equation Hard (45.45 %)
[1498] Number of Subsequences That Satisfy the Given Sum Condition Medium (38.23 %)
[1497] Check If Array Pairs Are Divisible by k Medium (40.52 %)
[1496] Path Crossing Easy (55.35 %)
[1494] Parallel Courses II Hard (31.39 %)
[1493] Longest Subarray of 1's After Deleting One Element Medium (58.04 %)
[1492] The kth Factor of n Medium (63.39 %)
[1491] Average Salary Excluding the Minimum and Maximum Salary Easy (68.75 %)
[1489] Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree Hard (52.71 %)
[1488] Avoid Flood in The City Medium (24.62 %)
[1487] Making File Names Unique Medium (30.57 %)
[1486] XOR Operation in an Array Easy (84.20 %)
[1483] Kth Ancestor of a Tree Node Hard (30.46 %)
[1482] Minimum Number of Days to Make m Bouquets Medium (50.00 %)
[1481] Least Number of Unique Integers after K Removals Medium (55.69 %)
[1480] Running Sum of 1d Array Easy (89.30 %)
[1478] Allocate Mailboxes Hard (54.01 %)
[1477] Find Two Non-overlapping Sub-arrays Each With Target Sum Medium (34.31 %)
[1476] Subrectangle Queries Medium (88.51 %)
[1475] Final Prices With a Special Discount in a Shop Easy (75.10 %)
[1473] Paint House III Hard (48.67 %)
[1472] Design Browser History Medium (70.90 %)
[1471] The k Strongest Values in an Array Medium (58.40 %)
[1470] Shuffle the Array Easy (88.39 %)
[1467] Probability of a Two Boxes Having The Same Number of Distinct Balls Hard (60.94 %)
[1466] Reorder Routes to Make All Paths Lead to the City Zero Medium (61.45 %)
[1465] Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts Medium (32.47 %)
[1464] Maximum Product of Two Elements in an Array Easy (77.16 %)
[1463] Cherry Pickup II Hard (69.39 %)
[1462] Course Schedule IV Medium (44.55 %)
[1461] Check If a String Contains All Binary Codes of Size K Medium (47.24 %)
[1460] Make Two Arrays Equal by Reversing Sub-arrays Easy (72.27 %)
[1458] Max Dot Product of Two Subsequences Hard (43.04 %)
[1457] Pseudo-Palindromic Paths in a Binary Tree Medium (70.97 %)
[1456] Maximum Number of Vowels in a Substring of Given Length Medium (54.44 %)
[1455] Check If a Word Occurs As a Prefix of Any Word in a Sentence Easy (64.54 %)
[1453] Maximum Number of Darts Inside of a Circular Dartboard Hard (35.31 %)
[1452] People Whose List of Favorite Companies Is Not a Subset of Another List Medium (54.98 %)
[1451] Rearrange Words in a Sentence Medium (59.38 %)
[1450] Number of Students Doing Homework at a Given Time Easy (77.27 %)
[1449] Form Largest Integer With Digits That Add up to Target Hard (43.92 %)
[1448] Count Good Nodes in Binary Tree Medium (70.47 %)
[1447] Simplified Fractions Medium (62.19 %)
[1446] Consecutive Characters Easy (60.98 %)
[1444] Number of Ways of Cutting a Pizza Hard (53.79 %)
[1443] Minimum Time to Collect All Apples in a Tree Medium (54.65 %)
[1442] Count Triplets That Can Form Two Arrays of Equal XOR Medium (71.25 %)
[1441] Build an Array With Stack Operations Easy (69.39 %)
[1439] Find the Kth Smallest Sum of a Matrix With Sorted Rows Hard (60.11 %)
[1438] Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Medium (44.18 %)
[1437] Check If All 1's Are at Least Length K Places Away Easy (62.86 %)
[1436] Destination City Easy (77.02 %)
[1434] Number of Ways to Wear Different Hats to Each Other Hard (39.25 %)
[1433] Check If a String Can Break Another String Medium (66.92 %)
[1432] Max Difference You Can Get From Changing an Integer Medium (42.85 %)
[1431] Kids With the Greatest Number of Candies Easy (88.44 %)
[1425] Constrained Subsequence Sum Hard (45.01 %)
[1424] Diagonal Traverse II Medium (45.79 %)
[1423] Maximum Points You Can Obtain from Cards Medium (46.54 %)
[1422] Maximum Score After Splitting a String Easy (56.02 %)
[1420] Build Array Where You Can Find The Maximum Exactly K Comparisons Hard (64.34 %)
[1419] Minimum Number of Frogs Croaking Medium (47.37 %)
[1418] Display Table of Food Orders in a Restaurant Medium (68.61 %)
[1417] Reformat The String Easy (55.19 %)
[1416] Restore The Array Hard (36.32 %)
[1415] The k-th Lexicographical String of All Happy Strings of Length n Medium (69.90 %)
[1414] Find the Minimum Number of Fibonacci Numbers Whose Sum Is K Medium (63.15 %)
[1413] Minimum Value to Get Positive Step by Step Sum Easy (65.51 %)
[1411] Number of Ways to Paint N × 3 Grid Hard (60.39 %)
[1410] HTML Entity Parser Medium (54.40 %)
[1409] Queries on a Permutation With Key Medium (81.50 %)
[1408] String Matching in an Array Easy (62.75 %)
[1406] Stone Game III Hard (57.28 %)
[1405] Longest Happy String Medium (52.28 %)
[1404] Number of Steps to Reduce a Number in Binary Representation to One Medium (49.89 %)
[1403] Minimum Subsequence in Non-Increasing Order Easy (71.09 %)
[1402] Reducing Dishes Hard (72.34 %)
[1401] Circle and Rectangle Overlapping Medium (42.44 %)
[1400] Construct K Palindrome Strings Medium (62.70 %)
[1399] Count Largest Group Easy (65.37 %)
[1397] Find All Good Strings Hard (38.28 %)
[1396] Design Underground System Medium (69.47 %)
[1395] Count Number of Teams Medium (79.17 %)
[1394] Find Lucky Integer in an Array Easy (63.25 %)
[1392] Longest Happy Prefix Hard (41.73 %)
[1391] Check if There is a Valid Path in a Grid Medium (44.87 %)
[1390] Four Divisors Medium (39.08 %)
[1389] Create Target Array in the Given Order Easy (84.76 %)
[1388] Pizza With 3n Slices Hard (45.61 %)
[1387] Sort Integers by The Power Value Medium (70.41 %)
[1386] Cinema Seat Allocation Medium (35.60 %)
[1385] Find the Distance Value Between Two Arrays Easy (66.44 %)
[1383] Maximum Performance of a Team Hard (35.53 %)
[1382] Balance a Binary Search Tree Medium (76.16 %)
[1381] Design a Stack With Increment Operation Medium (76.04 %)
[1380] Lucky Numbers in a Matrix Easy (70.78 %)
[1379] Find a Corresponding Node of a Binary Tree in a Clone of That Tree Medium (84.77 %)
[1377] Frog Position After T Seconds Hard (35.14 %)
[1376] Time Needed to Inform All Employees Medium (56.39 %)
[1375] Bulb Switcher III Medium (64.17 %)
[1374] Generate a String With Characters That Have Odd Counts Easy (76.18 %)
[1373] Maximum Sum BST in Binary Tree Hard (37.43 %)
[1372] Longest ZigZag Path in a Binary Tree Medium (54.76 %)
[1371] Find the Longest Substring Containing Vowels in Even Counts Medium (60.97 %)
[1370] Increasing Decreasing String Easy (76.56 %)
[1368] Minimum Cost to Make at Least One Valid Path in a Grid Hard (57.02 %)
[1367] Linked List in Binary Tree Medium (41.09 %)
[1366] Rank Teams by Votes Medium (55.10 %)
[1365] How Many Numbers Are Smaller Than the Current Number Easy (85.99 %)
[1363] Largest Multiple of Three Hard (34.06 %)
[1362] Closest Divisors Medium (57.67 %)
[1361] Validate Binary Tree Nodes Medium (44.04 %)
[1360] Number of Days Between Two Dates Easy (46.86 %)
[1359] Count All Valid Pickup and Delivery Options Hard (56.55 %)
[1358] Number of Substrings Containing All Three Characters Medium (60.49 %)
[1357] Apply Discount Every n Orders Medium (66.73 %)
[1356] Sort Integers by The Number of 1 Bits Easy (69.68 %)
[1354] Construct Target Array With Multiple Sums Hard (31.33 %)
[1353] Maximum Number of Events That Can Be Attended Medium (30.46 %)
[1352] Product of the Last K Numbers Medium (44.16 %)
[1351] Count Negative Numbers in a Sorted Matrix Easy (76.00 %)
[1349] Maximum Students Taking Exam Hard (44.22 %)
[1348] Tweet Counts Per Frequency Medium (35.09 %)
[1347] Minimum Number of Steps to Make Two Strings Anagram Medium (75.26 %)
[1346] Check If N and Its Double Exist Easy (36.37 %)
[1345] Jump Game IV Hard (41.91 %)
[1344] Angle Between Hands of a Clock Medium (61.28 %)
[1343] Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold Medium (64.71 %)
[1342] Number of Steps to Reduce a Number to Zero Easy (85.63 %)
[1340] Jump Game V Hard (59.09 %)
[1339] Maximum Product of Splitted Binary Tree Medium (38.25 %)
[1338] Reduce Array Size to The Half Medium (66.83 %)
[1337] The K Weakest Rows in a Matrix Easy (70.39 %)
[1335] Minimum Difficulty of a Job Schedule Hard (56.98 %)
[1334] Find the City With the Smallest Number of Neighbors at a Threshold Distance Medium (46.70 %)
[1333] Filter Restaurants by Vegan-Friendly, Price and Distance Medium (57.10 %)
[1332] Remove Palindromic Subsequences Easy (62.77 %)
[1331] Rank Transform of an Array Easy (57.62 %)
[1330] Reverse Subarray To Maximize Array Value Hard (36.52 %)
[1329] Sort the Matrix Diagonally Medium (81.83 %)
[1328] Break a Palindrome Medium (45.99 %)
[1326] Minimum Number of Taps to Open to Water a Garden Hard (46.43 %)
[1325] Delete Leaves With a Given Value Medium (73.66 %)
[1324] Print Words Vertically Medium (58.78 %)
[1323] Maximum 69 Number Easy (77.95 %)
[1320] Minimum Distance to Type a Word Using Two Fingers Hard (62.08 %)
[1319] Number of Operations to Make Network Connected Medium (55.21 %)
[1318] Minimum Flips to Make a OR b Equal to c Medium (63.86 %)
[1317] Convert Integer to the Sum of Two No-Zero Integers Easy (56.79 %)
[1316] Distinct Echo Substrings Hard (49.62 %)
[1315] Sum of Nodes with Even-Valued Grandparent Medium (84.23 %)
[1314] Matrix Block Sum Medium (73.65 %)
[1313] Decompress Run-Length Encoded List Easy (85.40 %)
[1312] Minimum Insertion Steps to Make a String Palindrome Hard (59.47 %)
[1311] Get Watched Videos by Your Friends Medium (44.14 %)
[1310] XOR Queries of a Subarray Medium (69.16 %)
[1309] Decrypt String from Alphabet to Integer Mapping Easy (77.29 %)
[1307] Verbal Arithmetic Puzzle Hard (36.90 %)
[1306] Jump Game III Medium (62.65 %)
[1305] All Elements in Two Binary Search Trees Medium (77.82 %)
[1304] Find N Unique Integers Sum up to Zero Easy (76.84 %)
[1302] Deepest Leaves Sum Medium (84.17 %)
[1301] Number of Paths with Max Score Hard (38.06 %)
[1300] Sum of Mutated Array Closest to Target Medium (43.14 %)
[1299] Replace Elements with Greatest Element on Right Side Easy (74.47 %)
[1298] Maximum Candies You Can Get from Boxes Hard (59.68 %)
[1297] Maximum Number of Occurrences of a Substring Medium (49.69 %)
[1296] Divide Array in Sets of K Consecutive Numbers Medium (55.44 %)
[1295] Find Numbers with Even Number of Digits Easy (79.26 %)
[1293] Shortest Path in a Grid with Obstacles Elimination Hard (42.89 %)
[1292] Maximum Side Length of a Square with Sum Less than or Equal to Threshold Medium (50.47 %)
[1291] Sequential Digits Medium (57.45 %)
[1290] Convert Binary Number in a Linked List to Integer Easy (81.75 %)
[1289] Minimum Falling Path Sum II Hard (62.41 %)
[1288] Remove Covered Intervals Medium (57.23 %)
[1287] Element Appearing More Than 25% In Sorted Array Easy (60.16 %)
[1286] Iterator for Combination Medium (70.92 %)
[1284] Minimum Number of Flips to Convert Binary Matrix to Zero Matrix Hard (70.33 %)
[1283] Find the Smallest Divisor Given a Threshold Medium (49.42 %)
[1282] Group the People Given the Group Size They Belong To Medium (84.33 %)
[1281] Subtract the Product and Sum of Digits of an Integer Easy (85.59 %)
[1278] Palindrome Partitioning III Hard (60.87 %)
[1277] Count Square Submatrices with All Ones Medium (72.89 %)
[1276] Number of Burgers with No Waste of Ingredients Medium (50.02 %)
[1275] Find Winner on a Tic Tac Toe Game Easy (52.91 %)
[1269] Number of Ways to Stay in the Same Place After Some Steps Hard (43.26 %)
[1268] Search Suggestions System Medium (64.55 %)
[1267] Count Servers that Communicate Medium (57.79 %)
[1266] Minimum Time Visiting All Points Easy (79.51 %)
[1263] Minimum Moves to Move a Box to Their Target Location Hard (43.18 %)
[1262] Greatest Sum Divisible by Three Medium (49.46 %)
[1261] Find Elements in a Contaminated Binary Tree Medium (74.57 %)
[1260] Shift 2D Grid Easy (61.83 %)
[1255] Maximum Score Words Formed by Letters Hard (69.84 %)
[1254] Number of Closed Islands Medium (61.51 %)
[1253] Reconstruct a 2-Row Binary Matrix Medium (41.51 %)
[1252] Cells with Odd Values in a Matrix Easy (78.82 %)
[1250] Check If It Is a Good Array Hard (56.21 %)
[1249] Minimum Remove to Make Valid Parentheses Medium (63.68 %)
[1248] Count Number of Nice Subarrays Medium (56.18 %)
[1247] Minimum Swaps to Make Strings Equal Medium (62.44 %)
[1240] Tiling a Rectangle with the Fewest Squares Hard (52.40 %)
[1239] Maximum Length of a Concatenated String with Unique Characters Medium (49.55 %)
[1238] Circular Permutation in Binary Representation Medium (66.09 %)
[1237] Find Positive Integer Solution for a Given Equation Medium (69.61 %)
[1235] Maximum Profit in Job Scheduling Hard (47.24 %)
[1234] Replace the Substring for Balanced String Medium (34.35 %)
[1233] Remove Sub-Folders from the Filesystem Medium (61.85 %)
[1232] Check If It Is a Straight Line Easy (43.72 %)
[1227] Airplane Seat Assignment Probability Medium (62.07 %)
[1226] The Dining Philosophers Medium (59.73 %)
[1224] Maximum Equal Frequency Hard (34.38 %)
[1223] Dice Roll Simulation Hard (46.65 %)
[1222] Queens That Can Attack the King Medium (69.45 %)
[1221] Split a String in Balanced Strings Easy (84.10 %)
[1220] Count Vowels Permutation Hard (54.22 %)
[1219] Path with Maximum Gold Medium (65.67 %)
[1218] Longest Arithmetic Subsequence of Given Difference Medium (46.52 %)
[1217] Minimum Cost to Move Chips to The Same Position Easy (71.20 %)
[1210] Minimum Moves to Reach Target with Rotations Hard (46.32 %)
[1209] Remove All Adjacent Duplicates in String II Medium (57.47 %)
[1208] Get Equal Substrings Within Budget Medium (43.82 %)
[1207] Unique Number of Occurrences Easy (71.69 %)
[1206] Design Skiplist Hard (59.05 %)
[1203] Sort Items by Groups Respecting Dependencies Hard (48.94 %)
[1202] Smallest String With Swaps Medium (48.62 %)
[1201] Ugly Number III Medium (26.43 %)
[1200] Minimum Absolute Difference Easy (66.92 %)
[1195] Fizz Buzz Multithreaded Medium (70.52 %)
[1192] Critical Connections in a Network Hard (50.02 %)
[1191] K-Concatenation Maximum Sum Medium (25.33 %)
[1190] Reverse Substrings Between Each Pair of Parentheses Medium (64.05 %)
[1189] Maximum Number of Balloons Easy (61.69 %)
[1187] Make Array Strictly Increasing Hard (41.75 %)
[1186] Maximum Subarray Sum with One Deletion Medium (38.60 %)
[1185] Day of the Week Easy (61.72 %)
[1184] Distance Between Bus Stops Easy (54.15 %)
[1179] Reformat Department Table Easy (81.87 %)
[1178] Number of Valid Words for Each Puzzle Hard (38.76 %)
[1177] Can Make Palindrome from Substring Medium (36.07 %)
[1175] Prime Arrangements Easy (51.96 %)
[1172] Dinner Plate Stacks Hard (37.90 %)
[1171] Remove Zero Sum Consecutive Nodes from Linked List Medium (41.46 %)
[1170] Compare Strings by Frequency of the Smallest Character Medium (59.53 %)
[1169] Invalid Transactions Medium (31.24 %)
[1163] Last Substring in Lexicographical Order Hard (36.20 %)
[1162] As Far from Land as Possible Medium (45.12 %)
[1161] Maximum Level Sum of a Binary Tree Medium (69.84 %)
[1160] Find Words That Can Be Formed by Characters Easy (67.92 %)
[1157] Online Majority Element In Subarray Hard (39.63 %)
[1156] Swap For Longest Repeated Character Substring Medium (47.32 %)
[1155] Number of Dice Rolls With Target Sum Medium (47.51 %)
[1154] Day of the Year Easy (49.29 %)
[1147] Longest Chunked Palindrome Decomposition Hard (59.50 %)
[1146] Snapshot Array Medium (36.95 %)
[1145] Binary Tree Coloring Game Medium (51.41 %)
[1144] Decrease Elements To Make Array Zigzag Medium (46.10 %)
[1143] Longest Common Subsequence Medium (58.65 %)
[1140] Stone Game II Medium (64.79 %)
[1139] Largest 1-Bordered Square Medium (48.54 %)
[1138] Alphabet Board Path Medium (50.87 %)
[1137] N-th Tribonacci Number Easy (56.01 %)
[1131] Maximum of Absolute Value Expression Medium (52.11 %)
[1130] Minimum Cost Tree From Leaf Values Medium (67.31 %)
[1129] Shortest Path with Alternating Colors Medium (40.21 %)
[1128] Number of Equivalent Domino Pairs Easy (46.65 %)
[1125] Smallest Sufficient Team Hard (47.03 %)
[1124] Longest Well-Performing Interval Medium (33.31 %)
[1123] Lowest Common Ancestor of Deepest Leaves Medium (67.90 %)
[1122] Relative Sort Array Easy (68.12 %)
[1117] Building H2O Medium (53.15 %)
[1116] Print Zero Even Odd Medium (57.65 %)
[1115] Print FooBar Alternately Medium (58.98 %)
[1114] Print in Order Easy (67.04 %)
[1111] Maximum Nesting Depth of Two Valid Parentheses Strings Medium (72.56 %)
[1110] Delete Nodes And Return Forest Medium (67.69 %)
[1109] Corporate Flight Bookings Medium (54.32 %)
[1108] Defanging an IP Address Easy (88.46 %)
[1106] Parsing A Boolean Expression Hard (59.24 %)
[1105] Filling Bookcase Shelves Medium (57.58 %)
[1104] Path In Zigzag Labelled Binary Tree Medium (73.08 %)
[1103] Distribute Candies to People Easy (63.49 %)
[1096] Brace Expansion II Hard (62.49 %)
[1095] Find in Mountain Array Hard (36.12 %)
[1094] Car Pooling Medium (59.06 %)
[1093] Statistics from a Large Sample Medium (49.37 %)
[1092] Shortest Common Supersequence Hard (52.89 %)
[1091] Shortest Path in Binary Matrix Medium (39.05 %)
[1090] Largest Values From Labels Medium (60.00 %)
[1089] Duplicate Zeros Easy (51.97 %)
[1081] Smallest Subsequence of Distinct Characters Medium (53.44 %)
[1080] Insufficient Nodes in Root to Leaf Paths Medium (49.83 %)
[1079] Letter Tile Possibilities Medium (75.87 %)
[1078] Occurrences After Bigram Easy (64.89 %)
[1074] Number of Submatrices That Sum to Target Hard (61.67 %)
[1073] Adding Two Negabinary Numbers Medium (34.75 %)
[1072] Flip Columns For Maximum Number of Equal Rows Medium (61.27 %)
[1071] Greatest Common Divisor of Strings Easy (51.29 %)
[1054] Distant Barcodes Medium (44.23 %)
[1053] Previous Permutation With One Swap Medium (50.97 %)
[1052] Grumpy Bookstore Owner Medium (55.77 %)
[1051] Height Checker Easy (72.22 %)
[1049] Last Stone Weight II Medium (45.15 %)
[1048] Longest String Chain Medium (55.38 %)
[1047] Remove All Adjacent Duplicates In String Easy (70.48 %)
[1046] Last Stone Weight Easy (62.43 %)
[1044] Longest Duplicate Substring Hard (31.44 %)
[1043] Partition Array for Maximum Sum Medium (66.76 %)
[1042] Flower Planting With No Adjacent Medium (48.73 %)
[1041] Robot Bounded In Circle Medium (54.96 %)
[1040] Moving Stones Until Consecutive II Medium (54.08 %)
[1039] Minimum Score Triangulation of Polygon Medium (50.05 %)
[1038] Binary Search Tree to Greater Sum Tree Medium (82.08 %)
[1037] Valid Boomerang Easy (37.80 %)
[1036] Escape a Large Maze Hard (34.84 %)
[1035] Uncrossed Lines Medium (56.04 %)
[1034] Coloring A Border Medium (45.57 %)
[1033] Moving Stones Until Consecutive Easy (43.08 %)
[1032] Stream of Characters Hard (48.67 %)
[1031] Maximum Sum of Two Non-Overlapping Subarrays Medium (58.89 %)
[1030] Matrix Cells in Distance Order Easy (66.90 %)
[1029] Two City Scheduling Medium (57.81 %)
[1028] Recover a Tree From Preorder Traversal Hard (70.88 %)
[1027] Longest Arithmetic Subsequence Medium (49.81 %)
[1026] Maximum Difference Between Node and Ancestor Medium (69.33 %)
[1025] Divisor Game Easy (66.15 %)
[1024] Video Stitching Medium (48.98 %)
[1023] Camelcase Matching Medium (57.42 %)
[1022] Sum of Root To Leaf Binary Numbers Easy (71.53 %)
[1021] Remove Outermost Parentheses Easy (78.84 %)
[1020] Number of Enclaves Medium (58.85 %)
[1019] Next Greater Node In Linked List Medium (58.22 %)
[1018] Binary Prefix Divisible By 5 Easy (47.75 %)
[1017] Convert to Base -2 Medium (59.63 %)
[1016] Binary String With Substrings Representing 1 To N Medium (59.00 %)
[1015] Smallest Integer Divisible by K Medium (41.80 %)
[1014] Best Sightseeing Pair Medium (52.89 %)
[1013] Partition Array Into Three Parts With Equal Sum Easy (49.14 %)
[1012] Numbers With Repeated Digits Hard (37.73 %)
[1011] Capacity To Ship Packages Within D Days Medium (59.66 %)
[1010] Pairs of Songs With Total Durations Divisible by 60 Medium (50.03 %)
[1009] Complement of Base 10 Integer Easy (61.47 %)
[1008] Construct Binary Search Tree from Preorder Traversal Medium (78.78 %)
[1007] Minimum Domino Rotations For Equal Row Medium (50.95 %)
[1006] Clumsy Factorial Medium (53.64 %)
[1005] Maximize Sum Of Array After K Negations Easy (52.27 %)
[1004] Max Consecutive Ones III Medium (60.67 %)
[1003] Check If Word Is Valid After Substitutions Medium (56.30 %)
[1002] Find Common Characters Easy (68.53 %)
[1001] Grid Illumination Hard (36.82 %)
[1000] Minimum Cost to Merge Stones Hard (40.41 %)
[ 999] Available Captures for Rook Easy (67.67 %)
[ 998] Maximum Binary Tree II Medium (63.75 %)
[ 997] Find the Town Judge Easy (49.79 %)
[ 996] Number of Squareful Arrays Hard (48.27 %)
[ 995] Minimum Number of K Consecutive Bit Flips Hard (49.63 %)
[ 994] Rotting Oranges Medium (49.63 %)
[ 993] Cousins in Binary Tree Easy (52.31 %)
[ 992] Subarrays with K Different Integers Hard (50.55 %)
[ 991] Broken Calculator Medium (46.43 %)
[ 990] Satisfiability of Equality Equations Medium (46.66 %)
[ 989] Add to Array-Form of Integer Easy (44.80 %)
[ 988] Smallest String Starting From Leaf Medium (46.70 %)
[ 987] Vertical Order Traversal of a Binary Tree Hard (38.71 %)
[ 986] Interval List Intersections Medium (68.24 %)
[ 985] Sum of Even Numbers After Queries Easy (60.74 %)
[ 984] String Without AAA or BBB Medium (38.60 %)
[ 983] Minimum Cost For Tickets Medium (62.68 %)
[ 982] Triples with Bitwise AND Equal To Zero Hard (56.19 %)
[ 981] Time Based Key-Value Store Medium (54.08 %)
[ 980] Unique Paths III Hard (77.19 %)
[ 979] Distribute Coins in Binary Tree Medium (69.59 %)
[ 978] Longest Turbulent Subarray Medium (46.57 %)
[ 977] Squares of a Sorted Array Easy (72.19 %)
[ 976] Largest Perimeter Triangle Easy (58.50 %)
[ 975] Odd Even Jump Hard (41.55 %)
[ 974] Subarray Sums Divisible by K Medium (50.74 %)
[ 973] K Closest Points to Origin Medium (64.56 %)
[ 972] Equal Rational Numbers Hard (41.97 %)
[ 971] Flip Binary Tree To Match Preorder Traversal Medium (46.14 %)
[ 970] Powerful Integers Medium (39.93 %)
[ 969] Pancake Sorting Medium (68.61 %)
[ 968] Binary Tree Cameras Hard (38.65 %)
[ 967] Numbers With Same Consecutive Differences Medium (44.64 %)
[ 966] Vowel Spellchecker Medium (47.92 %)
[ 965] Univalued Binary Tree Easy (67.81 %)
[ 964] Least Operators to Express Number Hard (44.93 %)
[ 963] Minimum Area Rectangle II Medium (51.76 %)
[ 962] Maximum Width Ramp Medium (46.45 %)
[ 961] N-Repeated Element in Size 2N Array Easy (74.42 %)
[ 960] Delete Columns to Make Sorted III Hard (54.76 %)
[ 959] Regions Cut By Slashes Medium (67.03 %)
[ 958] Check Completeness of a Binary Tree Medium (52.48 %)
[ 957] Prison Cells After N Days Medium (40.18 %)
[ 956] Tallest Billboard Hard (39.96 %)
[ 955] Delete Columns to Make Sorted II Medium (33.79 %)
[ 954] Array of Doubled Pairs Medium (35.24 %)
[ 953] Verifying an Alien Dictionary Easy (52.36 %)
[ 952] Largest Component Size by Common Factor Hard (36.11 %)
[ 951] Flip Equivalent Binary Trees Medium (65.68 %)
[ 950] Reveal Cards In Increasing Order Medium (75.35 %)
[ 949] Largest Time for Given Digits Medium (36.22 %)
[ 948] Bag of Tokens Medium (46.09 %)
[ 947] Most Stones Removed with Same Row or Column Medium (55.45 %)
[ 946] Validate Stack Sequences Medium (63.55 %)
[ 945] Minimum Increment to Make Array Unique Medium (46.71 %)
[ 944] Delete Columns to Make Sorted Easy (71.10 %)
[ 943] Find the Shortest Superstring Hard (43.43 %)
[ 942] DI String Match Easy (73.48 %)
[ 941] Valid Mountain Array Easy (33.40 %)
[ 940] Distinct Subsequences II Hard (41.60 %)
[ 939] Minimum Area Rectangle Medium (51.92 %)
[ 938] Range Sum of BST Easy (82.93 %)
[ 937] Reorder Data in Log Files Easy (54.41 %)
[ 936] Stamping The Sequence Hard (47.28 %)
[ 935] Knight Dialer Medium (46.34 %)
[ 934] Shortest Bridge Medium (49.53 %)
[ 933] Number of Recent Calls Easy (71.98 %)
[ 932] Beautiful Array Medium (61.10 %)
[ 931] Minimum Falling Path Sum Medium (63.28 %)
[ 930] Binary Subarrays With Sum Medium (44.45 %)
[ 929] Unique Email Addresses Easy (67.15 %)
[ 928] Minimize Malware Spread II Hard (41.20 %)
[ 927] Three Equal Parts Hard (34.53 %)
[ 926] Flip String to Monotone Increasing Medium (53.08 %)
[ 925] Long Pressed Name Easy (38.17 %)
[ 924] Minimize Malware Spread Hard (41.83 %)
[ 923] 3Sum With Multiplicity Medium (36.16 %)
[ 922] Sort Array By Parity II Easy (70.53 %)
[ 921] Minimum Add to Make Parentheses Valid Medium (74.73 %)
[ 920] Number of Music Playlists Hard (47.74 %)
[ 919] Complete Binary Tree Inserter Medium (58.72 %)
[ 918] Maximum Sum Circular Subarray Medium (34.13 %)
[ 917] Reverse Only Letters Easy (58.68 %)
[ 916] Word Subsets Medium (48.15 %)
[ 915] Partition Array into Disjoint Intervals Medium (46.11 %)
[ 914] X of a Kind in a Deck of Cards Easy (34.29 %)
[ 913] Cat and Mouse Hard (34.70 %)
[ 912] Sort an Array Medium (64.50 %)
[ 911] Online Election Medium (51.24 %)
[ 910] Smallest Range II Medium (31.25 %)
[ 909] Snakes and Ladders Medium (39.21 %)
[ 908] Smallest Range I Easy (66.37 %)
[ 907] Sum of Subarray Minimums Medium (33.15 %)
[ 906] Super Palindromes Hard (32.81 %)
[ 905] Sort Array By Parity Easy (75.01 %)
[ 904] Fruit Into Baskets Medium (42.96 %)
[ 903] Valid Permutations for DI Sequence Hard (54.15 %)
[ 902] Numbers At Most N Given Digit Set Hard (36.11 %)
[ 901] Online Stock Span Medium (61.27 %)
[ 900] RLE Iterator Medium (55.22 %)
[ 899] Orderly Queue Hard (53.00 %)
[ 898] Bitwise ORs of Subarrays Medium (34.07 %)
[ 897] Increasing Order Search Tree Easy (74.44 %)
[ 896] Monotonic Array Easy (58.02 %)
[ 895] Maximum Frequency Stack Hard (62.24 %)
[ 894] All Possible Full Binary Trees Medium (76.96 %)
[ 893] Groups of Special-Equivalent Strings Easy (68.33 %)
[ 892] Surface Area of 3D Shapes Easy (59.66 %)
[ 891] Sum of Subsequence Widths Hard (32.93 %)
[ 890] Find and Replace Pattern Medium (74.15 %)
[ 889] Construct Binary Tree from Preorder and Postorder Traversal Medium (67.43 %)
[ 888] Fair Candy Swap Easy (58.92 %)
[ 887] Super Egg Drop Hard (27.04 %)
[ 886] Possible Bipartition Medium (45.07 %)
[ 885] Spiral Matrix III Medium (70.65 %)
[ 884] Uncommon Words from Two Sentences Easy (64.03 %)
[ 883] Projection Area of 3D Shapes Easy (68.16 %)
[ 882] Reachable Nodes In Subdivided Graph Hard (42.45 %)
[ 881] Boats to Save People Medium (48.78 %)
[ 880] Decoded String at Index Medium (28.26 %)
[ 879] Profitable Schemes Hard (40.01 %)
[ 878] Nth Magical Number Hard (28.91 %)
[ 877] Stone Game Medium (66.42 %)
[ 876] Middle of the Linked List Easy (69.03 %)
[ 875] Koko Eating Bananas Medium (53.44 %)
[ 874] Walking Robot Simulation Easy (36.68 %)
[ 873] Length of Longest Fibonacci Subsequence Medium (48.11 %)
[ 872] Leaf-Similar Trees Easy (64.55 %)
[ 871] Minimum Number of Refueling Stops Hard (32.25 %)
[ 870] Advantage Shuffle Medium (46.73 %)
[ 869] Reordered Power of 2 Medium (54.17 %)
[ 868] Binary Gap Easy (60.87 %)
[ 867] Transpose Matrix Easy (62.13 %)
[ 866] Prime Palindrome Medium (25.09 %)
[ 865] Smallest Subtree with all the Deepest Nodes Medium (64.74 %)
[ 864] Shortest Path to Get All Keys Hard (41.81 %)
[ 863] All Nodes Distance K in Binary Tree Medium (57.76 %)
[ 862] Shortest Subarray with Sum at Least K Hard (25.17 %)
[ 861] Score After Flipping Matrix Medium (73.58 %)
[ 860] Lemonade Change Easy (51.87 %)
[ 859] Buddy Strings Easy (29.53 %)
[ 858] Mirror Reflection Medium (59.57 %)
[ 857] Minimum Cost to Hire K Workers Hard (50.36 %)
[ 856] Score of Parentheses Medium (62.31 %)
[ 855] Exam Room Medium (43.41 %)
[ 854] K-Similar Strings Hard (38.70 %)
[ 853] Car Fleet Medium (43.68 %)
[ 852] Peak Index in a Mountain Array Easy (71.75 %)
[ 851] Loud and Rich Medium (52.59 %)
[ 850] Rectangle Area II Hard (48.31 %)
[ 849] Maximize Distance to Closest Person Medium (44.48 %)
[ 848] Shifting Letters Medium (45.16 %)
[ 847] Shortest Path Visiting All Nodes Hard (53.43 %)
[ 846] Hand of Straights Medium (55.34 %)
[ 845] Longest Mountain in Array Medium (38.51 %)
[ 844] Backspace String Compare Easy (46.88 %)
[ 843] Guess the Word Hard (46.41 %)
[ 842] Split Array into Fibonacci Sequence Medium (36.81 %)
[ 841] Keys and Rooms Medium (65.36 %)
[ 840] Magic Squares In Grid Medium (37.84 %)
[ 839] Similar String Groups Hard (40.38 %)
[ 838] Push Dominoes Medium (49.73 %)
[ 837] New 21 Game Medium (35.33 %)
[ 836] Rectangle Overlap Easy (44.87 %)
[ 835] Image Overlap Medium (61.79 %)
[ 834] Sum of Distances in Tree Hard (45.78 %)
[ 833] Find And Replace in String Medium (51.41 %)
[ 832] Flipping an Image Easy (78.08 %)
[ 831] Masking Personal Information Medium (44.80 %)
[ 830] Positions of Large Groups Easy (50.35 %)
[ 829] Consecutive Numbers Sum Hard (39.29 %)
[ 828] Count Unique Characters of All Substrings of a Given String Hard (46.78 %)
[ 827] Making A Large Island Hard (47.19 %)
[ 826] Most Profit Assigning Work Medium (39.03 %)
[ 825] Friends Of Appropriate Ages Medium (43.93 %)
[ 824] Goat Latin Easy (66.38 %)
[ 823] Binary Trees With Factors Medium (36.53 %)
[ 822] Card Flipping Game Medium (43.61 %)
[ 821] Shortest Distance to a Character Easy (67.87 %)
[ 820] Short Encoding of Words Medium (51.49 %)
[ 819] Most Common Word Easy (45.48 %)
[ 818] Race Car Hard (39.78 %)
[ 817] Linked List Components Medium (57.70 %)
[ 816] Ambiguous Coordinates Medium (47.97 %)
[ 815] Bus Routes Hard (43.29 %)
[ 814] Binary Tree Pruning Medium (72.74 %)
[ 813] Largest Sum of Averages Medium (50.96 %)
[ 812] Largest Triangle Area Easy (58.89 %)
[ 811] Subdomain Visit Count Easy (71.34 %)
[ 810] Chalkboard XOR Game Hard (49.53 %)
[ 809] Expressive Words Medium (46.51 %)
[ 808] Soup Servings Medium (40.97 %)
[ 807] Max Increase to Keep City Skyline Medium (84.32 %)
[ 806] Number of Lines To Write String Easy (65.47 %)
[ 805] Split Array With Same Average Hard (26.75 %)
[ 804] Unique Morse Code Words Easy (78.81 %)
[ 803] Bricks Falling When Hit Hard (31.36 %)
[ 802] Find Eventual Safe States Medium (49.73 %)
[ 801] Minimum Swaps To Make Sequences Increasing Medium (38.96 %)
[ 799] Champagne Tower Medium (44.05 %)
[ 798] Smallest Rotation with Highest Score Hard (44.77 %)
[ 797] All Paths From Source to Target Medium (78.46 %)
[ 796] Rotate String Easy (49.28 %)
[ 795] Number of Subarrays with Bounded Maximum Medium (47.44 %)
[ 794] Valid Tic-Tac-Toe State Medium (33.68 %)
[ 793] Preimage Size of Factorial Zeroes Function Hard (40.66 %)
[ 792] Number of Matching Subsequences Medium (48.11 %)
[ 791] Custom Sort String Medium (65.94 %)
[ 790] Domino and Tromino Tiling Medium (39.99 %)
[ 789] Escape The Ghosts Medium (58.26 %)
[ 788] Rotated Digits Easy (57.17 %)
[ 787] Cheapest Flights Within K Stops Medium (39.50 %)
[ 786] K-th Smallest Prime Fraction Hard (42.17 %)
[ 785] Is Graph Bipartite? Medium (48.30 %)
[ 784] Letter Case Permutation Medium (66.40 %)
[ 783] Minimum Distance Between BST Nodes Easy (53.79 %)
[ 782] Transform to Chessboard Hard (46.95 %)
[ 781] Rabbits in Forest Medium (55.41 %)
[ 780] Reaching Points Hard (30.32 %)
[ 779] K-th Symbol in Grammar Medium (38.50 %)
[ 778] Swim in Rising Water Hard (54.75 %)
[ 777] Swap Adjacent in LR String Medium (35.58 %)
[ 775] Global and Local Inversions Medium (42.54 %)
[ 773] Sliding Puzzle Hard (60.71 %)
[ 771] Jewels and Stones Easy (86.88 %)
[ 770] Basic Calculator IV Hard (54.56 %)
[ 769] Max Chunks To Make Sorted Medium (55.52 %)
[ 768] Max Chunks To Make Sorted II Hard (49.73 %)
[ 767] Reorganize String Medium (50.00 %)
[ 766] Toeplitz Matrix Easy (65.80 %)
[ 765] Couples Holding Hands Hard (55.43 %)
[ 764] Largest Plus Sign Medium (46.44 %)
[ 763] Partition Labels Medium (77.98 %)
[ 762] Prime Number of Set Bits in Binary Representation Easy (64.26 %)
[ 761] Special Binary String Hard (58.62 %)
[ 757] Set Intersection Size At Least Two Hard (42.13 %)
[ 756] Pyramid Transition Matrix Medium (55.49 %)
[ 754] Reach a Number Medium (40.46 %)
[ 753] Cracking the Safe Hard (52.20 %)
[ 752] Open the Lock Medium (52.70 %)
[ 749] Contain Virus Hard (48.08 %)
[ 748] Shortest Completing Word Easy (57.44 %)
[ 747] Largest Number At Least Twice of Others Easy (42.91 %)
[ 746] Min Cost Climbing Stairs Easy (50.91 %)
[ 745] Prefix and Suffix Search Hard (35.19 %)
[ 744] Find Smallest Letter Greater Than Target Easy (45.65 %)
[ 743] Network Delay Time Medium (45.38 %)
[ 741] Cherry Pickup Hard (35.05 %)
[ 740] Delete and Earn Medium (49.23 %)
[ 739] Daily Temperatures Medium (64.47 %)
[ 738] Monotone Increasing Digits Medium (45.60 %)
[ 736] Parse Lisp Expression Hard (49.79 %)
[ 735] Asteroid Collision Medium (43.24 %)
[ 733] Flood Fill Easy (55.85 %)
[ 732] My Calendar III Hard (61.62 %)
[ 731] My Calendar II Medium (50.38 %)
[ 730] Count Different Palindromic Subsequences Hard (43.40 %)
[ 729] My Calendar I Medium (53.22 %)
[ 728] Self Dividing Numbers Easy (75.37 %)
[ 726] Number of Atoms Hard (51.08 %)
[ 725] Split Linked List in Parts Medium (52.88 %)
[ 724] Find Pivot Index Easy (45.21 %)
[ 722] Remove Comments Medium (35.98 %)
[ 721] Accounts Merge Medium (51.53 %)
[ 720] Longest Word in Dictionary Easy (49.12 %)
[ 719] Find K-th Smallest Pair Distance Hard (32.48 %)
[ 718] Maximum Length of Repeated Subarray Medium (50.26 %)
[ 717] 1-bit and 2-bit Characters Easy (47.40 %)
[ 715] Range Module Hard (40.19 %)
[ 714] Best Time to Buy and Sell Stock with Transaction Fee Medium (55.98 %)
[ 713] Subarray Product Less Than K Medium (40.46 %)
[ 712] Minimum ASCII Delete Sum for Two Strings Medium (59.41 %)
[ 710] Random Pick with Blacklist Hard (32.69 %)
[ 709] To Lower Case Easy (80.01 %)
[ 707] Design Linked List Medium (25.83 %)
[ 706] Design HashMap Easy (62.71 %)
[ 705] Design HashSet Easy (64.65 %)
[ 704] Binary Search Easy (54.01 %)
[ 703] Kth Largest Element in a Stream Easy (50.61 %)
[ 701] Insert into a Binary Search Tree Medium (75.80 %)
[ 700] Search in a Binary Search Tree Easy (73.40 %)
[ 699] Falling Squares Hard (42.46 %)
[ 698] Partition to K Equal Sum Subsets Medium (45.61 %)
[ 697] Degree of an Array Easy (54.38 %)
[ 696] Count Binary Substrings Easy (57.34 %)
[ 695] Max Area of Island Medium (64.56 %)
[ 693] Binary Number with Alternating Bits Easy (59.81 %)
[ 692] Top K Frequent Words Medium (53.01 %)
[ 691] Stickers to Spell Word Hard (44.44 %)
[ 690] Employee Importance Easy (58.62 %)
[ 689] Maximum Sum of 3 Non-Overlapping Subarrays Hard (47.16 %)
[ 688] Knight Probability in Chessboard Medium (50.00 %)
[ 687] Longest Univalue Path Medium (37.20 %)
[ 686] Repeated String Match Medium (32.81 %)
[ 685] Redundant Connection II Hard (32.95 %)
[ 684] Redundant Connection Medium (58.85 %)
[ 682] Baseball Game Easy (66.51 %)
[ 680] Valid Palindrome II Easy (37.05 %)
[ 679] 24 Game Hard (47.22 %)
[ 678] Valid Parenthesis String Medium (31.58 %)
[ 677] Map Sum Pairs Medium (53.96 %)
[ 676] Implement Magic Dictionary Medium (55.20 %)
[ 675] Cut Off Trees for Golf Event Hard (35.22 %)
[ 674] Longest Continuous Increasing Subsequence Easy (46.06 %)
[ 673] Number of Longest Increasing Subsequence Medium (38.44 %)
[ 672] Bulb Switcher II Medium (51.06 %)
[ 671] Second Minimum Node In a Binary Tree Easy (42.78 %)
[ 670] Maximum Swap Medium (45.02 %)
✔ [ 669] Trim a Binary Search Tree Medium (64.57 %)
[ 668] Kth Smallest Number in Multiplication Table Hard (47.70 %)
[ 667] Beautiful Arrangement II Medium (55.09 %)
[ 665] Non-decreasing Array Medium (19.66 %)
[ 664] Strange Printer Hard (41.32 %)
[ 662] Maximum Width of Binary Tree Medium (39.97 %)
[ 661] Image Smoother Easy (52.24 %)
[ 659] Split Array into Consecutive Subsequences Medium (44.34 %)
[ 658] Find K Closest Elements Medium (41.87 %)
[ 657] Robot Return to Origin Easy (73.70 %)
[ 655] Print Binary Tree Medium (55.97 %)
[ 654] Maximum Binary Tree Medium (81.01 %)
[ 653] Two Sum IV - Input is a BST Easy (56.21 %)
[ 652] Find Duplicate Subtrees Medium (52.23 %)
[ 650] 2 Keys Keyboard Medium (49.96 %)
[ 649] Dota2 Senate Medium (39.42 %)
[ 648] Replace Words Medium (58.38 %)
[ 647] Palindromic Substrings Medium (61.79 %)
[ 646] Maximum Length of Pair Chain Medium (52.82 %)
[ 645] Set Mismatch Easy (42.49 %)
[ 643] Maximum Average Subarray I Easy (42.00 %)
[ 641] Design Circular Deque Medium (54.63 %)
[ 640] Solve the Equation Medium (42.66 %)
[ 639] Decode Ways II Hard (27.55 %)
[ 638] Shopping Offers Medium (52.75 %)
[ 637] Average of Levels in Binary Tree Easy (64.68 %)
[ 636] Exclusive Time of Functions Medium (54.19 %)
[ 633] Sum of Square Numbers Medium (32.52 %)
[ 632] Smallest Range Covering Elements from K Lists Hard (54.12 %)
[ 630] Course Schedule III Hard (33.76 %)
[ 629] K Inverse Pairs Array Hard (31.64 %)
[ 628] Maximum Product of Three Numbers Easy (46.94 %)
[ 627] Swap Salary Easy (77.42 %)
[ 626] Exchange Seats Medium (65.31 %)
[ 623] Add One Row to Tree Medium (50.32 %)
[ 622] Design Circular Queue Medium (45.21 %)
[ 621] Task Scheduler Medium (51.65 %)
[ 620] Not Boring Movies Easy (69.59 %)
[ 617] Merge Two Binary Trees Easy (75.24 %)
[ 611] Valid Triangle Number Medium (49.15 %)
[ 609] Find Duplicate File in System Medium (60.96 %)
[ 606] Construct String from Binary Tree Easy (55.08 %)
[ 605] Can Place Flowers Easy (31.85 %)
[ 601] Human Traffic of Stadium Hard (44.77 %)
[ 600] Non-negative Integers without Consecutive Ones Hard (34.65 %)
[ 599] Minimum Index Sum of Two Lists Easy (51.60 %)
[ 598] Range Addition II Easy (50.07 %)
[ 596] Classes More Than 5 Students Easy (38.73 %)
[ 595] Big Countries Easy (78.36 %)
[ 594] Longest Harmonious Subsequence Easy (51.16 %)
[ 593] Valid Square Medium (43.29 %)
[ 592] Fraction Addition and Subtraction Medium (50.16 %)
[ 591] Tag Validator Hard (34.62 %)
[ 590] N-ary Tree Postorder Traversal Easy (73.26 %)
[ 589] N-ary Tree Preorder Traversal Easy (73.23 %)
[ 587] Erect the Fence Hard (36.38 %)
[ 583] Delete Operation for Two Strings Medium (49.88 %)
[ 581] Shortest Unsorted Continuous Subarray Medium (31.70 %)
[ 576] Out of Boundary Paths Medium (35.83 %)
[ 575] Distribute Candies Easy (62.01 %)
[ 572] Subtree of Another Tree Easy (44.49 %)
[ 567] Permutation in String Medium (44.56 %)
[ 566] Reshape the Matrix Easy (61.02 %)
[ 565] Array Nesting Medium (55.95 %)
[ 564] Find the Closest Palindrome Hard (20.31 %)
[ 563] Binary Tree Tilt Easy (52.81 %)
[ 561] Array Partition I Easy (73.11 %)
[ 560] Subarray Sum Equals K Medium (43.81 %)
[ 559] Maximum Depth of N-ary Tree Easy (69.44 %)
[ 558] Logical OR of Two Binary Grids Represented as Quad-Trees Medium (45.49 %)
[ 557] Reverse Words in a String III Easy (71.72 %)
[ 556] Next Greater Element III Medium (33.52 %)
[ 554] Brick Wall Medium (50.64 %)
[ 553] Optimal Division Medium (57.38 %)
[ 552] Student Attendance Record II Hard (37.30 %)
[ 551] Student Attendance Record I Easy (46.04 %)
[ 547] Number of Provinces Medium (60.31 %)
[ 546] Remove Boxes Hard (44.18 %)
[ 543] Diameter of Binary Tree Easy (49.12 %)
[ 542] 01 Matrix Medium (40.78 %)
[ 541] Reverse String II Easy (49.09 %)
[ 540] Single Element in a Sorted Array Medium (57.89 %)
[ 539] Minimum Time Difference Medium (52.27 %)
[ 538] Convert BST to Greater Tree Medium (56.74 %)
[ 537] Complex Number Multiplication Medium (68.27 %)
[ 535] Encode and Decode TinyURL Medium (80.85 %)
[ 532] K-diff Pairs in an Array Medium (35.06 %)
[ 530] Minimum Absolute Difference in BST Easy (54.78 %)
[ 529] Minesweeper Medium (60.99 %)
[ 528] Random Pick with Weight Medium (44.58 %)
[ 526] Beautiful Arrangement Medium (61.74 %)
[ 525] Contiguous Array Medium (43.42 %)
[ 524] Longest Word in Dictionary through Deleting Medium (49.01 %)
[ 523] Continuous Subarray Sum Medium (24.73 %)
[ 522] Longest Uncommon Subsequence II Medium (34.11 %)
[ 521] Longest Uncommon Subsequence I Easy (58.43 %)
[ 520] Detect Capital Easy (53.89 %)
[ 519] Random Flip Matrix Medium (37.72 %)
[ 518] Coin Change 2 Medium (51.59 %)
[ 517] Super Washing Machines Hard (38.56 %)
[ 516] Longest Palindromic Subsequence Medium (55.16 %)
[ 515] Find Largest Value in Each Tree Row Medium (62.12 %)
[ 514] Freedom Trail Hard (44.85 %)
[ 513] Find Bottom Left Tree Value Medium (62.43 %)
[ 509] Fibonacci Number Easy (67.42 %)
[ 508] Most Frequent Subtree Sum Medium (58.96 %)
[ 507] Perfect Number Easy (36.09 %)
[ 506] Relative Ranks Easy (51.14 %)
[ 504] Base 7 Easy (46.48 %)
[ 503] Next Greater Element II Medium (58.31 %)
[ 502] IPO Hard (41.41 %)
[ 501] Find Mode in Binary Search Tree Easy (43.37 %)
[ 500] Keyboard Row Easy (65.59 %)
[ 498] Diagonal Traverse Medium (50.19 %)
[ 497] Random Point in Non-overlapping Rectangles Medium (39.07 %)
[ 496] Next Greater Element I Easy (65.33 %)
[ 495] Teemo Attacking Medium (56.10 %)
[ 494] Target Sum Medium (45.77 %)
[ 493] Reverse Pairs Hard (26.71 %)
[ 492] Construct the Rectangle Easy (50.32 %)
[ 491] Increasing Subsequences Medium (47.49 %)
[ 488] Zuma Game Hard (38.50 %)
[ 486] Predict the Winner Medium (48.47 %)
[ 485] Max Consecutive Ones Easy (53.07 %)
[ 483] Smallest Good Base Hard (36.22 %)
[ 482] License Key Formatting Easy (43.06 %)
[ 481] Magical String Medium (48.05 %)
[ 480] Sliding Window Median Hard (38.56 %)
[ 479] Largest Palindrome Product Hard (29.52 %)
[ 478] Generate Random Point in a Circle Medium (38.97 %)
[ 477] Total Hamming Distance Medium (50.60 %)
[ 476] Number Complement Easy (65.13 %)
[ 475] Heaters Medium (33.59 %)
[ 474] Ones and Zeroes Medium (43.58 %)
[ 473] Matchsticks to Square Medium (38.20 %)
[ 472] Concatenated Words Hard (44.30 %)
[ 470] Implement Rand10() Using Rand7() Medium (46.05 %)
[ 468] Validate IP Address Medium (24.88 %)
[ 467] Unique Substrings in Wraparound String Medium (35.97 %)
[ 466] Count The Repetitions Hard (28.56 %)
[ 464] Can I Win Medium (29.59 %)
[ 463] Island Perimeter Easy (66.61 %)
[ 462] Minimum Moves to Equal Array Elements II Medium (54.34 %)
[ 461] Hamming Distance Easy (73.15 %)
[ 460] LFU Cache Hard (35.88 %)
[ 459] Repeated Substring Pattern Easy (43.31 %)
[ 458] Poor Pigs Hard (54.48 %)
[ 457] Circular Array Loop Medium (30.02 %)
[ 456] 132 Pattern Medium (30.61 %)
[ 455] Assign Cookies Easy (50.38 %)
[ 454] 4Sum II Medium (54.56 %)
[ 453] Minimum Moves to Equal Array Elements Easy (50.74 %)
[ 452] Minimum Number of Arrows to Burst Balloons Medium (49.77 %)
[ 451] Sort Characters By Frequency Medium (64.26 %)
[ 450] Delete Node in a BST Medium (45.24 %)
[ 449] Serialize and Deserialize BST Medium (53.91 %)
[ 448] Find All Numbers Disappeared in an Array Easy (56.10 %)
[ 447] Number of Boomerangs Medium (52.39 %)
[ 446] Arithmetic Slices II - Subsequence Hard (33.32 %)
[ 445] Add Two Numbers II Medium (56.16 %)
[ 443] String Compression Medium (43.35 %)
[ 442] Find All Duplicates in an Array Medium (68.84 %)
[ 441] Arranging Coins Easy (42.34 %)
[ 440] K-th Smallest in Lexicographical Order Hard (29.76 %)
[ 438] Find All Anagrams in a String Medium (44.83 %)
[ 437] Path Sum III Medium (48.04 %)
[ 436] Find Right Interval Medium (48.48 %)
[ 435] Non-overlapping Intervals Medium (43.87 %)
[ 434] Number of Segments in a String Easy (37.79 %)
[ 433] Minimum Genetic Mutation Medium (43.20 %)
[ 432] All O`one Data Structure Hard (33.09 %)
[ 430] Flatten a Multilevel Doubly Linked List Medium (56.73 %)
[ 429] N-ary Tree Level Order Traversal Medium (66.54 %)
[ 427] Construct Quad Tree Medium (62.48 %)
[ 424] Longest Repeating Character Replacement Medium (48.13 %)
[ 423] Reconstruct Original Digits from English Medium (47.40 %)
[ 421] Maximum XOR of Two Numbers in an Array Medium (54.01 %)
[ 420] Strong Password Checker Hard (13.87 %)
[ 419] Battleships in a Board Medium (70.99 %)
[ 417] Pacific Atlantic Water Flow Medium (42.47 %)
[ 416] Partition Equal Subset Sum Medium (44.80 %)
[ 415] Add Strings Easy (48.17 %)
[ 414] Third Maximum Number Easy (30.66 %)
[ 413] Arithmetic Slices Medium (58.56 %)
[ 412] Fizz Buzz Easy (63.53 %)
[ 410] Split Array Largest Sum Hard (46.21 %)
[ 409] Longest Palindrome Easy (52.20 %)
[ 407] Trapping Rain Water II Hard (44.00 %)
[ 406] Queue Reconstruction by Height Medium (68.24 %)
[ 405] Convert a Number to Hexadecimal Easy (44.39 %)
[ 404] Sum of Left Leaves Easy (52.23 %)
[ 403] Frog Jump Hard (41.29 %)
[ 402] Remove K Digits Medium (28.63 %)
[ 401] Binary Watch Easy (48.35 %)
[ 400] Nth Digit Medium (32.35 %)
[ 399] Evaluate Division Medium (54.17 %)
[ 398] Random Pick Index Medium (57.77 %)
[ 397] Integer Replacement Medium (33.43 %)
[ 396] Rotate Function Medium (36.71 %)
[ 395] Longest Substring with At Least K Repeating Characters Medium (43.44 %)
[ 394] Decode String Medium (52.52 %)
[ 393] UTF-8 Validation Medium (38.00 %)
[ 392] Is Subsequence Easy (49.50 %)
[ 391] Perfect Rectangle Hard (31.05 %)
[ 390] Elimination Game Medium (44.93 %)
[ 389] Find the Difference Easy (57.74 %)
[ 388] Longest Absolute File Path Medium (42.68 %)
[ 387] First Unique Character in a String Easy (53.76 %)
[ 386] Lexicographical Numbers Medium (53.91 %)
[ 385] Mini Parser Medium (34.43 %)
[ 384] Shuffle an Array Medium (53.91 %)
[ 383] Ransom Note Easy (53.28 %)
[ 382] Linked List Random Node Medium (54.01 %)
[ 381] Insert Delete GetRandom O(1) - Duplicates allowed Hard (34.78 %)
[ 380] Insert Delete GetRandom O(1) Medium (48.72 %)
[ 378] Kth Smallest Element in a Sorted Matrix Medium (56.02 %)
[ 377] Combination Sum IV Medium (45.96 %)
[ 376] Wiggle Subsequence Medium (40.18 %)
[ 375] Guess Number Higher or Lower II Medium (42.04 %)
[ 374] Guess Number Higher or Lower Easy (44.54 %)
[ 373] Find K Pairs with Smallest Sums Medium (37.59 %)
[ 372] Super Pow Medium (36.68 %)
[ 371] Sum of Two Integers Medium (50.62 %)
[ 368] Largest Divisible Subset Medium (38.25 %)
[ 367] Valid Perfect Square Easy (42.03 %)
[ 365] Water and Jug Problem Medium (31.02 %)
[ 363] Max Sum of Rectangle No Larger Than K Hard (38.37 %)
[ 357] Count Numbers with Unique Digits Medium (48.81 %)
[ 355] Design Twitter Medium (31.31 %)
[ 354] Russian Doll Envelopes Hard (36.16 %)
[ 352] Data Stream as Disjoint Intervals Hard (48.53 %)
[ 350] Intersection of Two Arrays II Easy (51.94 %)
[ 349] Intersection of Two Arrays Easy (64.59 %)
[ 347] Top K Frequent Elements Medium (62.32 %)
[ 345] Reverse Vowels of a String Easy (44.99 %)
[ 344] Reverse String Easy (70.17 %)
[ 343] Integer Break Medium (51.13 %)
[ 342] Power of Four Easy (41.68 %)
[ 341] Flatten Nested List Iterator Medium (54.39 %)
[ 338] Counting Bits Medium (70.30 %)
[ 337] House Robber III Medium (51.79 %)
[ 336] Palindrome Pairs Hard (34.51 %)
[ 335] Self Crossing Hard (28.63 %)
[ 334] Increasing Triplet Subsequence Medium (40.66 %)
[ 332] Reconstruct Itinerary Medium (37.75 %)
[ 331] Verify Preorder Serialization of a Binary Tree Medium (40.94 %)
[ 330] Patching Array Hard (34.93 %)
[ 329] Longest Increasing Path in a Matrix Hard (44.65 %)
[ 328] Odd Even Linked List Medium (56.98 %)
[ 327] Count of Range Sum Hard (35.99 %)
[ 326] Power of Three Easy (42.07 %)
[ 324] Wiggle Sort II Medium (30.63 %)
[ 322] Coin Change Medium (37.07 %)
[ 321] Create Maximum Number Hard (27.47 %)
[ 319] Bulb Switcher Medium (45.33 %)
[ 318] Maximum Product of Word Lengths Medium (52.16 %)
[ 316] Remove Duplicate Letters Medium (38.99 %)
[ 315] Count of Smaller Numbers After Self Hard (42.58 %)
[ 313] Super Ugly Number Medium (46.06 %)
[ 312] Burst Balloons Hard (53.70 %)
[ 310] Minimum Height Trees Medium (34.59 %)
[ 309] Best Time to Buy and Sell Stock with Cooldown Medium (48.09 %)
[ 307] Range Sum Query - Mutable Medium (36.61 %)
[ 306] Additive Number Medium (29.61 %)
[ 304] Range Sum Query 2D - Immutable Medium (40.37 %)
[ 303] Range Sum Query - Immutable Easy (47.36 %)
[ 301] Remove Invalid Parentheses Hard (44.53 %)
[ 300] Longest Increasing Subsequence Medium (43.84 %)
[ 299] Bulls and Cows Medium (44.39 %)
[ 297] Serialize and Deserialize Binary Tree Hard (49.60 %)
[ 295] Find Median from Data Stream Hard (46.66 %)
[ 292] Nim Game Easy (54.96 %)
[ 290] Word Pattern Easy (38.30 %)
[ 289] Game of Life Medium (57.99 %)
[ 287] Find the Duplicate Number Medium (57.36 %)
[ 284] Peeking Iterator Medium (47.60 %)
[ 283] Move Zeroes Easy (58.50 %)
[ 282] Expression Add Operators Hard (36.65 %)
[ 279] Perfect Squares Medium (48.77 %)
[ 278] First Bad Version Easy (37.31 %)
[ 275] H-Index II Medium (36.24 %)
[ 274] H-Index Medium (36.35 %)
[ 273] Integer to English Words Hard (28.01 %)
[ 268] Missing Number Easy (53.68 %)
[ 264] Ugly Number II Medium (42.79 %)
[ 263] Ugly Number Easy (41.71 %)
[ 262] Trips and Users Hard (35.39 %)
[ 260] Single Number III Medium (65.28 %)
[ 258] Add Digits Easy (58.42 %)
[ 257] Binary Tree Paths Easy (53.39 %)
[ 242] Valid Anagram Easy (58.05 %)
[ 241] Different Ways to Add Parentheses Medium (57.14 %)
[ 240] Search a 2D Matrix II Medium (44.34 %)
[ 239] Sliding Window Maximum Hard (44.58 %)
[ 238] Product of Array Except Self Medium (61.33 %)
[ 237] Delete Node in a Linked List Easy (66.59 %)
[ 236] Lowest Common Ancestor of a Binary Tree Medium (48.44 %)
[ 235] Lowest Common Ancestor of a Binary Search Tree Easy (51.57 %)
[ 234] Palindrome Linked List Easy (40.35 %)
[ 233] Number of Digit One Hard (31.68 %)
[ 232] Implement Queue using Stacks Easy (51.87 %)
[ 231] Power of Two Easy (43.81 %)
[ 230] Kth Smallest Element in a BST Medium (62.37 %)
[ 229] Majority Element II Medium (38.65 %)
[ 228] Summary Ranges Easy (42.26 %)
[ 227] Basic Calculator II Medium (38.44 %)
[ 226] Invert Binary Tree Easy (66.79 %)
[ 225] Implement Stack using Queues Easy (47.13 %)
[ 224] Basic Calculator Hard (38.07 %)
[ 223] Rectangle Area Medium (38.16 %)
[ 222] Count Complete Tree Nodes Medium (49.05 %)
[ 221] Maximal Square Medium (38.99 %)
[ 220] Contains Duplicate III Medium (21.33 %)
[ 219] Contains Duplicate II Easy (38.56 %)
[ 218] The Skyline Problem Hard (36.19 %)
[ 217] Contains Duplicate Easy (56.58 %)
[ 216] Combination Sum III Medium (60.12 %)
[ 215] Kth Largest Element in an Array Medium (58.21 %)
[ 214] Shortest Palindrome Hard (30.60 %)
[ 213] House Robber II Medium (37.48 %)
[ 212] Word Search II Hard (36.80 %)
[ 211] Design Add and Search Words Data Structure Medium (40.01 %)
[ 210] Course Schedule II Medium (42.42 %)
[ 209] Minimum Size Subarray Sum Medium (39.31 %)
[ 208] Implement Trie (Prefix Tree) Medium (51.80 %)
[ 207] Course Schedule Medium (44.31 %)
[ 206] Reverse Linked List Easy (65.03 %)
[ 205] Isomorphic Strings Easy (40.42 %)
[ 204] Count Primes Easy (32.18 %)
[ 203] Remove Linked List Elements Easy (39.13 %)
[ 202] Happy Number Easy (51.19 %)
[ 201] Bitwise AND of Numbers Range Medium (39.61 %)
[ 200] Number of Islands Medium (48.86 %)
[ 199] Binary Tree Right Side View Medium (55.92 %)
[ 198] House Robber Medium (42.81 %)
[ 197] Rising Temperature Easy (39.76 %)
[ 196] Delete Duplicate Emails Easy (44.78 %)
[ 195] Tenth Line Easy (32.89 %)
[ 194] Transpose File Medium (24.36 %)
[ 193] Valid Phone Numbers Easy (25.34 %)
[ 192] Word Frequency Medium (25.75 %)
✔ [ 191] Number of 1 Bits Easy (53.45 %)
[ 190] Reverse Bits Easy (41.89 %)
[ 189] Rotate Array Medium (36.49 %)
[ 188] Best Time to Buy and Sell Stock IV Hard (29.47 %)
[ 187] Repeated DNA Sequences Medium (41.36 %)
[ 185] Department Top Three Salaries Hard (38.50 %)
[ 184] Department Highest Salary Medium (39.73 %)
[ 183] Customers Who Never Order Easy (56.52 %)
[ 182] Duplicate Emails Easy (64.35 %)
[ 181] Employees Earning More Than Their Managers Easy (60.01 %)
[ 180] Consecutive Numbers Medium (41.95 %)
[ 179] Largest Number Medium (30.55 %)
[ 178] Rank Scores Medium (49.71 %)
[ 177] Nth Highest Salary Medium (33.11 %)
[ 176] Second Highest Salary Easy (33.10 %)
[ 175] Combine Two Tables Easy (63.79 %)
[ 174] Dungeon Game Hard (33.23 %)
[ 173] Binary Search Tree Iterator Medium (59.88 %)
[ 172] Factorial Trailing Zeroes Easy (38.47 %)
[ 171] Excel Sheet Column Number Easy (56.81 %)
[ 169] Majority Element Easy (59.96 %)
[ 168] Excel Sheet Column Title Easy (31.66 %)
[ 167] Two Sum II - Input array is sorted Easy (55.53 %)
[ 166] Fraction to Recurring Decimal Medium (22.22 %)
[ 165] Compare Version Numbers Medium (30.25 %)
[ 164] Maximum Gap Hard (36.71 %)
[ 162] Find Peak Element Medium (43.90 %)
[ 160] Intersection of Two Linked Lists Easy (42.93 %)
[ 155] Min Stack Easy (46.20 %)
[ 154] Find Minimum in Rotated Sorted Array II Hard (41.97 %)
[ 153] Find Minimum in Rotated Sorted Array Medium (46.02 %)
[ 152] Maximum Product Subarray Medium (32.69 %)
[ 151] Reverse Words in a String Medium (23.52 %)
[ 150] Evaluate Reverse Polish Notation Medium (37.76 %)
[ 149] Max Points on a Line Hard (17.32 %)
[ 148] Sort List Medium (46.06 %)
[ 147] Insertion Sort List Medium (44.25 %)
[ 146] LRU Cache Medium (35.51 %)
[ 145] Binary Tree Postorder Traversal Medium (57.34 %)
[ 144] Binary Tree Preorder Traversal Medium (57.31 %)
[ 143] Reorder List Medium (40.43 %)
[ 142] Linked List Cycle II Medium (39.52 %)
[ 141] Linked List Cycle Easy (42.74 %)
[ 140] Word Break II Hard (34.48 %)
[ 139] Word Break Medium (41.56 %)
[ 138] Copy List with Random Pointer Medium (39.86 %)
[ 137] Single Number II Medium (53.68 %)
[ 136] Single Number Easy (66.45 %)
[ 135] Candy Hard (32.89 %)
[ 134] Gas Station Medium (41.10 %)
[ 133] Clone Graph Medium (38.87 %)
[ 132] Palindrome Partitioning II Hard (31.13 %)
[ 131] Palindrome Partitioning Medium (51.71 %)
[ 130] Surrounded Regions Medium (29.27 %)
[ 129] Sum Root to Leaf Numbers Medium (50.74 %)
[ 128] Longest Consecutive Sequence Hard (46.16 %)
[ 127] Word Ladder Hard (31.64 %)
[ 126] Word Ladder II Hard (23.56 %)
[ 125] Valid Palindrome Easy (38.07 %)
[ 124] Binary Tree Maximum Path Sum Hard (35.36 %)
[ 123] Best Time to Buy and Sell Stock III Hard (39.81 %)
[ 122] Best Time to Buy and Sell Stock II Easy (58.39 %)
[ 121] Best Time to Buy and Sell Stock Easy (51.45 %)
[ 120] Triangle Medium (45.64 %)
[ 119] Pascal's Triangle II Easy (52.02 %)
[ 118] Pascal's Triangle Easy (54.60 %)
[ 117] Populating Next Right Pointers in Each Node II Medium (41.90 %)
[ 116] Populating Next Right Pointers in Each Node Medium (48.78 %)
[ 115] Distinct Subsequences Hard (39.56 %)
[ 114] Flatten Binary Tree to Linked List Medium (51.69 %)
[ 113] Path Sum II Medium (48.89 %)
[ 112] Path Sum Easy (42.30 %)
[ 111] Minimum Depth of Binary Tree Easy (39.40 %)
[ 110] Balanced Binary Tree Easy (44.65 %)
[ 109] Convert Sorted List to Binary Search Tree Medium (50.01 %)
[ 108] Convert Sorted Array to Binary Search Tree Easy (60.18 %)
[ 107] Binary Tree Level Order Traversal II Easy (55.04 %)
[ 106] Construct Binary Tree from Inorder and Postorder Traversal Medium (49.40 %)
[ 105] Construct Binary Tree from Preorder and Inorder Traversal Medium (51.53 %)
[ 104] Maximum Depth of Binary Tree Easy (67.90 %)
[ 103] Binary Tree Zigzag Level Order Traversal Medium (49.95 %)
[ 102] Binary Tree Level Order Traversal Medium (56.43 %)
[ 101] Symmetric Tree Easy (47.99 %)
[ 100] Same Tree Easy (54.06 %)
[ 99 ] Recover Binary Search Tree Hard (42.32 %)
[ 98 ] Validate Binary Search Tree Medium (28.68 %)
[ 97 ] Interleaving String Hard (32.48 %)
[ 96 ] Unique Binary Search Trees Medium (54.29 %)
[ 95 ] Unique Binary Search Trees II Medium (42.32 %)
[ 94 ] Binary Tree Inorder Traversal Medium (65.65 %)
[ 93 ] Restore IP Addresses Medium (37.40 %)
[ 92 ] Reverse Linked List II Medium (40.41 %)
[ 91 ] Decode Ways Medium (26.39 %)
[ 90 ] Subsets II Medium (48.68 %)
[ 89 ] Gray Code Medium (50.24 %)
[ 88 ] Merge Sorted Array Easy (40.65 %)
[ 87 ] Scramble String Hard (34.58 %)
[ 86 ] Partition List Medium (43.22 %)
[ 85 ] Maximal Rectangle Hard (39.33 %)
[ 84 ] Largest Rectangle in Histogram Hard (36.97 %)
[ 83 ] Remove Duplicates from Sorted List Easy (46.41 %)
★ [ 82 ] Remove Duplicates from Sorted List II Medium (39.12 %)
[ 81 ] Search in Rotated Sorted Array II Medium (33.50 %)
[ 80 ] Remove Duplicates from Sorted Array II Medium (45.99 %)
[ 79 ] Word Search Medium (36.70 %)
[ 78 ] Subsets Medium (64.81 %)
[ 77 ] Combinations Medium (57.21 %)
[ 76 ] Minimum Window Substring Hard (35.84 %)
[ 75 ] Sort Colors Medium (49.18 %)
[ 74 ] Search a 2D Matrix Medium (37.58 %)
[ 73 ] Set Matrix Zeroes Medium (44.20 %)
[ 72 ] Edit Distance Hard (46.58 %)
[ 71 ] Simplify Path Medium (34.21 %)
[ 70 ] Climbing Stairs Easy (48.58 %)
[ 69 ] Sqrt(x) Easy (34.95 %)
[ 68 ] Text Justification Hard (29.46 %)
[ 67 ] Add Binary Easy (46.79 %)
[ 66 ] Plus One Easy (42.38 %)
[ 65 ] Valid Number Hard (15.80 %)
[ 64 ] Minimum Path Sum Medium (56.05 %)
[ 63 ] Unique Paths II Medium (35.20 %)
[ 62 ] Unique Paths Medium (55.83 %)
[ 61 ] Rotate List Medium (31.66 %)
[ 60 ] Permutation Sequence Hard (39.29 %)
[ 59 ] Spiral Matrix II Medium (57.61 %)
[ 58 ] Length of Last Word Easy (33.45 %)
[ 57 ] Insert Interval Medium (34.98 %)
[ 56 ] Merge Intervals Medium (40.86 %)
[ 55 ] Jump Game Medium (35.11 %)
[ 54 ] Spiral Matrix Medium (35.77 %)
[ 53 ] Maximum Subarray Easy (47.65 %)
[ 52 ] N-Queens II Hard (59.89 %)
[ 51 ] N-Queens Hard (49.37 %)
[ 50 ] Pow(x, n) Medium (30.88 %)
[ 49 ] Group Anagrams Medium (59.07 %)
[ 48 ] Rotate Image Medium (59.65 %)
[ 47 ] Permutations II Medium (49.21 %)
[ 46 ] Permutations Medium (66.34 %)
[ 45 ] Jump Game II Hard (31.34 %)
[ 44 ] Wildcard Matching Hard (25.35 %)
[ 43 ] Multiply Strings Medium (34.85 %)
[ 42 ] Trapping Rain Water Hard (50.96 %)
[ 41 ] First Missing Positive Hard (33.55 %)
[ 40 ] Combination Sum II Medium (49.98 %)
[ 39 ] Combination Sum Medium (59.02 %)
[ 38 ] Count and Say Easy (45.92 %)
[ 37 ] Sudoku Solver Hard (46.27 %)
[ 36 ] Valid Sudoku Medium (50.38 %)
[ 35 ] Search Insert Position Easy (42.79 %)
[ 34 ] Find First and Last Position of Element in Sorted Array Medium (37.20 %)
[ 33 ] Search in Rotated Sorted Array Medium (35.77 %)
[ 32 ] Longest Valid Parentheses Hard (29.22 %)
[ 31 ] Next Permutation Medium (33.74 %)
[ 30 ] Substring with Concatenation of All Words Hard (26.12 %)
[ 29 ] Divide Two Integers Medium (16.62 %)
[ 28 ] Implement strStr() Easy (35.12 %)
[ 27 ] Remove Element Easy (49.17 %)
[ 26 ] Remove Duplicates from Sorted Array Easy (46.48 %)
[ 25 ] Reverse Nodes in k-Group Hard (44.58 %)
[ 24 ] Swap Nodes in Pairs Medium (52.87 %)
[ 23 ] Merge k Sorted Lists Hard (42.49 %)
[ 22 ] Generate Parentheses Medium (65.07 %)
[ 21 ] Merge Two Sorted Lists Easy (55.86 %)
[ 20 ] Valid Parentheses Easy (39.81 %)
[ 19 ] Remove Nth Node From End of List Medium (35.69 %)
[ 18 ] 4Sum Medium (34.77 %)
[ 17 ] Letter Combinations of a Phone Number Medium (48.90 %)
[ 16 ] 3Sum Closest Medium (46.28 %)
[ 15 ] 3Sum Medium (27.90 %)
[ 14 ] Longest Common Prefix Easy (36.07 %)
[ 13 ] Roman to Integer Easy (56.46 %)
[ 12 ] Integer to Roman Medium (56.06 %)
[ 11 ] Container With Most Water Medium (52.34 %)
[ 10 ] Regular Expression Matching Hard (27.30 %)
[ 9 ] Palindrome Number Easy (49.63 %)
[ 8 ] String to Integer (atoi) Medium (15.61 %)
[ 7 ] Reverse Integer Easy (25.89 %)
[ 6 ] ZigZag Conversion Medium (37.80 %)
[ 5 ] Longest Palindromic Substring Medium (30.43 %)
[ 4 ] Median of Two Sorted Arrays Hard (30.93 %)
[ 3 ] Longest Substring Without Repeating Characters Medium (31.35 %)
[ 2 ] Add Two Numbers Medium (35.32 %)
[ 1 ] Two Sum Easy (46.35 %)
[82] Remove Duplicates from Sorted List II ★
https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/description/
Tags: algorithms linked-list
Langs: c cpp csharp golang java javascript kotlin php python python3 racket ruby rust scala swift typescript
* algorithms
* Medium (39.12%)
* Likes: 2636
* Dislikes: 122
* Total Accepted: 312.7K
* Total Submissions: 799.2K
* Testcase Example: '[1,2,3,3,4,4,5]'
<p>Given the <code>head</code> of a sorted linked list, <em>delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list</em>. Return <em>the linked list <strong>sorted</strong> as well</em>.</p>
<p> </p>
<p><strong>Example 1:</strong></p>
<img alt="" src="https://assets.leetcode.com/uploads/2021/01/04/linkedlist1.jpg" style="width: 500px; height: 142px;" />
<pre>
<strong>Input:</strong> head = [1,2,3,3,4,4,5]
<strong>Output:</strong> [1,2,5]
</pre>
<p><strong>Example 2:</strong></p>
<img alt="" src="https://assets.leetcode.com/uploads/2021/01/04/linkedlist2.jpg" style="width: 500px; height: 205px;" />
<pre>
<strong>Input:</strong> head = [1,1,1,2,3]
<strong>Output:</strong> [2,3]
</pre>
<p> </p>
<p><strong>Constraints:</strong></p>
<ul>
<li>The number of nodes in the list is in the range <code>[0, 300]</code>.</li>
<li><code>-100 <= Node.val <= 100</code></li>
<li>The list is guaranteed to be <strong>sorted</strong> in ascending order.</li>
</ul>
[82] Remove Duplicates from Sorted List II ★
https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/description/
Tags: algorithms linked-list
Langs: c cpp csharp golang java javascript kotlin php python python3 racket ruby rust scala swift typescript
* algorithms
* Medium (39.12%)
* Likes: 2636
* Dislikes: 122
* Total Accepted: 312.7K
* Total Submissions: 799.2K
* Testcase Example: '[1,2,3,3,4,4,5]'
<p>Given the <code>head</code> of a sorted linked list, <em>delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list</em>. Return <em>the linked list <strong>sorted</strong> as well</em>.</p>
<p> </p>
<p><strong>Example 1:</strong></p>
<img alt="" src="https://assets.leetcode.com/uploads/2021/01/04/linkedlist1.jpg" style="width: 500px; height: 142px;" />
<pre>
<strong>Input:</strong> head = [1,2,3,3,4,4,5]
<strong>Output:</strong> [1,2,5]
</pre>
<p><strong>Example 2:</strong></p>
<img alt="" src="https://assets.leetcode.com/uploads/2021/01/04/linkedlist2.jpg" style="width: 500px; height: 205px;" />
<pre>
<strong>Input:</strong> head = [1,1,1,2,3]
<strong>Output:</strong> [2,3]
</pre>
<p> </p>
<p><strong>Constraints:</strong></p>
<ul>
<li>The number of nodes in the list is in the range <code>[0, 300]</code>.</li>
<li><code>-100 <= Node.val <= 100</code></li>
<li>The list is guaranteed to be <strong>sorted</strong> in ascending order.</li>
</ul>
🐛 Bug Report
Cannot compile rust solution to problem in VSCode using the extension.
To Reproduce
Open a problem, select Rust as the language. Press the play icon in the editor.
Expected behavior
rustc compiles the file.
Extension Output
Guidance: Press
Ctrl+Shift+U
, and toggle the channel toLeetCode
.Your Environment