Skip to content

emfomy/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

LeetCode Problems' Solutions

Problems

# Title Solution Difficulty
1 Two Sum C++ Go Python Easy
2 Add Two Numbers C++ Go Python Medium
3 Longest Substring Without Repeating Characters C++ Go Python Medium
4 Median of Two Sorted Arrays C++ Go Python Hard
5 Longest Palindromic Substring C++ Go Python Medium
6 ZigZag Conversion Go Python Medium
7 Reverse Integer Python Easy
8 String to Integer (atoi) Python Medium
9 Palindrome Number C++ Python Easy
10 Regular Expression Matching Python Hard
11 Container With Most Water C++ Python Medium
12 Integer to Roman Python Medium
13 Roman to Integer Go Python Easy
14 Longest Common Prefix C++ Python Easy
15 3Sum C++ Python Medium
16 3Sum Closest C++ Python Medium
17 Letter Combinations of a Phone Number Python Medium
18 4Sum Python Medium
19 Remove Nth Node From End of List C++ Python Medium
20 Valid Parentheses C++ Python Easy
21 Merge Two Sorted Lists C++ Python Easy
22 Generate Parentheses C++ Python Medium
23 Merge k Sorted Lists C++ Python Hard
24 Swap Nodes in Pairs Python Medium
25 Reverse Nodes in k-Group C++ Medium
26 Remove Duplicates from Sorted Array Python Easy
27 Remove Element Python Easy
28 Find the Index of the First Occurrence in a String C++ Go Python Easy
29 Divide Two Integers Go Medium
30 Substring with Concatenation of All Words C++ Go Hard
31 Next Permutation C++ Medium
32 Longest Valid Parentheses Python Hard
33 Search in Rotated Sorted Array C++ Python Medium
34 Find First and Last Position of Element in Sorted Array C++ Go Medium
35 Search Insert Position C++ Easy
36 Valid Sudoku C++ Medium
38 Count and Say Go Medium
39 Combination Sum Go Python Medium
40 Combination Sum II Go Medium
41 First Missing Positive C++ Python Hard
42 Trapping Rain Water Go Python Hard
43 Multiply Strings C++ Medium
44 Wildcard Matching Go Hard
45 Jump Game II Go Python Hard
46 Permutations C++ Python Medium
47 Permutations II C++ Medium
48 Rotate Image C++ Python Medium
49 Group Anagrams C++ Go Python Medium
50 Pow(x, n) C++ Python Medium
51 N-Queens Go Hard
52 N-Queens II C++ Go Python Hard
53 Maximum Subarray C++ Go Python Medium
54 Spiral Matrix C++ Go Medium
55 Jump Game Go Python Medium
56 Merge Intervals C++ Python Medium
57 Insert Interval C++ Medium
58 Length of Last Word Python Easy
59 Spiral Matrix II Go Medium
60 Permutation Sequence C++ Hard
61 Rotate List C++ Medium
62 Unique Paths Go Python Medium
63 Unique Paths II C++ Go Medium
64 Minimum Path Sum C++ Go Python Medium
65 Valid Number C++ Hard
66 Plus One C++ Easy
67 Add Binary C++ Easy
68 Text Justification Python Hard
69 Sqrt(x) C++ Python Easy
70 Climbing Stairs C++ Go Python Easy
71 Simplify Path C++ Medium
72 Edit Distance C++ Go Python Medium
73 Set Matrix Zeroes C++ Go Medium
74 Search a 2D Matrix C++ Medium
75 Sort Colors Go Python Medium
76 Minimum Window Substring C++ Hard
77 Combinations C++ Python Medium
78 Subsets C++ Go Python Medium
79 Word Search C++ Python Medium
80 Remove Duplicates from Sorted Array II Python Medium
82 Remove Duplicates from Sorted List II C++ Medium
83 Remove Duplicates from Sorted List C++ Easy
84 Largest Rectangle in Histogram C++ Python Hard
85 Maximal Rectangle C++ Python Hard
86 Partition List C++ Go Medium
88 Merge Sorted Array C++ Go Python Medium
91 Decode Ways Go Medium
92 Reverse Linked List II C++ Go Medium
93 Restore IP Addresses C++ Medium
94 Binary Tree Inorder Traversal C++ Python Easy
95 Unique Binary Search Trees II Go Medium
96 Unique Binary Search Trees C++ Go Python Medium
97 Interleaving String C++ Go Medium
98 Validate Binary Search Tree C++ Go Python Medium
100 Same Tree Python Easy
101 Symmetric Tree Python Easy
102 Binary Tree Level Order Traversal C++ Go Python Medium
103 Binary Tree Zigzag Level Order Traversal Python Medium
104 Maximum Depth of Binary Tree Go Python Easy
105 Construct Binary Tree from Preorder and Inorder Traversal C++ Go Python Medium
106 Construct Binary Tree from Inorder and Postorder Traversal C++ Python Medium
107 Binary Tree Level Order Traversal II C++ Medium
108 Convert Sorted Array to Binary Search Tree Go Easy
110 Balanced Binary Tree C++ Easy
112 Path Sum Python Easy
114 Flatten Binary Tree to Linked List C++ Go Python Medium
116 Populating Next Right Pointers in Each Node C++ Medium
117 Populating Next Right Pointers in Each Node II Python Medium
118 Pascal's Triangle Go Easy
119 Pascal's Triangle II Go Easy
120 Triangle C++ Go Medium
121 Best Time to Buy and Sell Stock C++ Go Python Easy
122 Best Time to Buy and Sell Stock II C++ Go Python Medium
123 Best Time to Buy and Sell Stock III C++ Python Hard
124 Binary Tree Maximum Path Sum Python Hard
125 Valid Palindrome C++ Easy
126 Word Ladder II Go Hard
127 Word Ladder Python Hard
128 Longest Consecutive Sequence C++ Go Medium
129 Sum Root to Leaf Numbers C++ Python Medium
134 Gas Station Python Medium
135 Candy C++ Go Python Hard
136 Single Number C++ Easy
137 Single Number II C++ Go Medium
138 Copy List with Random Pointer C++ Medium
139 Word Break C++ Go Medium
141 Linked List Cycle C++ Easy
142 Linked List Cycle II C++ Medium
143 Reorder List C++ Medium
144 Binary Tree Preorder Traversal C++ Easy
145 Binary Tree Postorder Traversal C++ Easy
146 LRU Cache C++ Medium
147 Insertion Sort List C++ Medium
149 Max Points on a Line C++ Hard
150 Evaluate Reverse Polish Notation C++ Medium
151 Reverse Words in a String Python Medium
152 Maximum Product Subarray C++ Go Medium
153 Find Minimum in Rotated Sorted Array C++ Medium
155 Min Stack C++ Medium
160 Intersection of Two Linked Lists C++ Go Easy
162 Find Peak Element C++ Medium
165 Compare Version Numbers C++ Go Medium
166 Fraction to Recurring Decimal C++ Medium
167 Two Sum II - Input Array Is Sorted Go Python Medium
169 Majority Element Python Easy
170 Two Sum III - Data structure design C++ Easy
172 Factorial Trailing Zeroes C++ Medium
173 Binary Search Tree Iterator Python Medium
188 Best Time to Buy and Sell Stock IV C++ Python Hard
189 Rotate Array Python Medium
190 Reverse Bits C++ Easy
191 Number of 1 Bits C++ Go Easy
198 House Robber C++ Go Medium
199 Binary Tree Right Side View C++ Go Python Medium
200 Number of Islands C++ Go Medium
201 Bitwise AND of Numbers Range C++ Medium
202 Happy Number C++ Go Easy
204 Count Primes C++ Medium
205 Isomorphic Strings C++ Easy
206 Reverse Linked List C++ Go Easy
207 Course Schedule C++ Go Medium
208 Implement Trie (Prefix Tree) Go Medium
209 Minimum Size Subarray Sum C++ Medium
210 Course Schedule II C++ Go Medium
212 Word Search II C++ Hard
213 House Robber II Go Medium
214 Shortest Palindrome C++ Hard
215 Kth Largest Element in an Array C++ Go Medium
216 Combination Sum III Go Medium
217 Contains Duplicate Go Easy
219 Contains Duplicate II C++ Easy
221 Maximal Square C++ Go Medium
222 Count Complete Tree Nodes C++ Python Easy
223 Rectangle Area C++ Medium
225 Implement Stack using Queues C++ Easy
226 Invert Binary Tree C++ Python Easy
227 Basic Calculator II C++ Medium
228 Summary Ranges C++ Easy
230 Kth Smallest Element in a BST C++ Medium
231 Power of Two C++ Easy
232 Implement Queue using Stacks C++ Go Easy
235 Lowest Common Ancestor of a Binary Search Tree C++ Go Medium
236 Lowest Common Ancestor of a Binary Tree C++ Go Python Medium
237 Delete Node in a Linked List Go Medium
238 Product of Array Except Self C++ Python Medium
239 Sliding Window Maximum C++ Hard
240 Search a 2D Matrix II Go Medium
242 Valid Anagram C++ Go Easy
244 Basic Calculator C++ Hard
252 Meeting Rooms C++ Easy
253 Meeting Rooms II C++ Medium
255 Verify Preorder Sequence in Binary Search Tree Go Medium
257 Binary Tree Paths C++ Easy
259 3Sum Smaller C++ Medium
263 Ugly Number Go Easy
264 Ugly Number Go Easy
266 Palindrome Permutation C++ Easy
268 Missing Number Go Easy
272 Closest Binary Search Tree Value II Go Hard
273 Integer to English Words Go Hard
274 H-Index Python Medium
279 Perfect Squares C++ Go Medium
283 Move Zeroes Go Easy
285 Inorder Successor in BST Go Medium
286 Walls and Gates C++ Medium
287 Find the Duplicate Number C++ Medium
289 Game of Life C++ Medium
290 Word Pattern C++ Easy
292 Nim Game C++ Easy
295 Find Median from Data Stream C++ Hard
297 Serialize and Deserialize Binary Tree Go Hard
298 Binary Tree Longest Consecutive Sequence C++ Medium
300 Longest Increasing Subsequence C++ Go Medium
302 Smallest Rectangle Enclosing Black Pixels Go Hard
303 Range Sum Query - Immutable C++ Go Easy
304 Range Sum Query 2D - Immutable C++ Go Medium
307 Range Sum Query - Mutable C++ Go Medium
308 Range Sum Query 2D - Mutable C++ Medium
309 Best Time to Buy and Sell Stock with Cooldown Go Medium
311 Sparse Matrix Multiplication Go Medium
314 Binary Tree Vertical Order Traversal C++ Medium
315 Count of Smaller Numbers After Self Go Hard
316 Remove Duplicate Letters C++ Medium
317 Shortest Distance from All Buildings Go Hard
318 Maximum Product of Word Lengths Go Easy
322 Coin Change C++ Go Medium
323 Number of Connected Components in an Undirected Graph Go Medium
325 Maximum Size Subarray Sum Equals k Go Medium
326 Power of Three Go Easy
328 Odd Even Linked List C++ Medium
331 Verify Preorder Serialization of a Binary Tree C++ Medium
333 Largest BST Subtree Go Medium
339 Nested List Weight Sum C++ Medium
343 Integer Break Go Medium
344 Reverse String C++ Easy
345 Reverse Vowels of a String C++ Easy
346 Moving Average from Data Stream C++ Easy
347 Top K Frequent Elements C++ Medium
349 Intersection of Two Arrays C++ Easy
352 Data Stream as Disjoint Intervals C++ Hard
353 Design Snake Game Go Medium
358 Rearrange String k Distance Apart C++ Hard
359 Logger Rate Limiter Go Easy
361 Bomb Enemy Go Medium
362 Design Hit Counter C++ Medium
364 Nested List Weight Sum II C++ Medium
368 Largest Divisible Subset Go Medium
370 Range Addition C++ Medium
373 Find K Pairs with Smallest Sums C++ Medium
376 Wiggle Subsequence Go Medium
377 Combination Sum IV Go Medium
378 Kth Smallest Element in a Sorted Matrix Go Medium
380 Insert Delete GetRandom O(1) C++ Go Python Medium
381 Insert Delete GetRandom O(1) - Duplicates allowed C++ Hard
383 Ransom Note C++ Go Easy
386 Lexicographical Numbers Go Medium
387 Roman to Integer Go Easy
389 Find the Difference Go Easy
392 Is Subsequence C++ Go Python Easy
394 Decode String C++ Medium
399 Evaluate Division C++ Medium
401 Binary Watch C++ Easy
402 Remove K Digits C++ Medium
404 Sum of Left Leaves Go Easy
406 Queue Reconstruction by Height Go Medium
407 Trapping Rain Water II C++ Go Python Hard
410 Split Array Largest Sum C++ Hard
413 Arithmetic Slices Go Medium
416 Partition Equal Subset Sum C++ Go Medium
417 Pacific Atlantic Water Flow C++ Medium
421 Maximum XOR of Two Numbers in an Array C++ Medium
422 Valid Word Square C++ Easy
424 Longest Repeating Character Replacement C++ Medium
425 Word Squares Go Hard
426 Convert Binary Search Tree to Sorted Doubly Linked List Go Medium
429 N-ary Tree Level Order Traversal C++ Medium
432 All O`one Data Structure C++ Hard
433 Minimum Genetic Mutation Python Medium
436 Find Right Interval C++ Medium
440 K-th Smallest in Lexicographical Order C++ Go Hard
445 Add Two Numbers II C++ Medium
448 Find All Numbers Disappeared in an Array C++ Easy
450 Delete Node in a BST C++ Medium
452 Minimum Number of Arrows to Burst Balloons C++ Medium
458 Poor Pigs Go Hard
459 Repeated Substring Pattern C++ Go Easy
460 LFU Cache C++ Hard
462 Minimum Moves to Equal Array Elements II Go Medium
463 Island Perimeter C++ Easy
473 Matchsticks to Square Go Medium
474 Ones and Zeroes C++ Medium
480 Sliding Window Median C++ Python Hard
481 Magical String C++ Medium
482 License Key Formatting C++ Easy
485 Max Consecutive Ones C++ Easy
487 Max Consecutive Ones II C++ Medium
490 The Maze C++ Medium
493 Reverse Pairs C++ Hard
494 Target Sum C++ Go Medium
496 Next Greater Element I C++ Go Easy
499 The Maze III C++ Hard
502 IPO C++ Hard
503 Next Greater Element II C++ Medium
505 The Maze II C++ Medium
506 Relative Ranks Go Easy
509 Fibonacci Number Go Easy
515 Find Largest Value in Each Tree Row Go Medium
516 Longest Palindromic Subsequence Go Medium
518 Coin Change II C++ Go Medium
520 Detect Capital C++ Easy
523 Continuous Subarray Sum C++ Medium
527 Word Abbreviation Go Hard
530 Minimum Absolute Difference in BST Python Easy
538 Convert BST to Greater Tree C++ Medium
543 Diameter of Binary Tree C++ Easy
549 Binary Tree Longest Consecutive Sequence II C++ Medium
560 Subarray Sum Equals K C++ Medium
566 Reshape the Matrix Go Easy
576 Out of Boundary Paths Go Medium
581 Shortest Unsorted Continuous Subarray C++ Medium
583 Delete Operation for Two Strings Go Medium
589 N-ary Tree Preorder Traversal C++ Go Easy
590 N-ary Tree Postorder Traversal C++ Easy
594 Longest Harmonious Subsequence Go Easy
611 Valid Triangle Number C++ Medium
622 Design Circular Queue C++ Medium
629 K Inverse Pairs Array Go Hard
630 Course Schedule III C++ Go Hard
631 Design Excel Sum Formula C++ Hard
633 Sum of Square Numbers C++ Go Medium
635 Design Log Storage System C++ Medium
636 Exclusive Time of Functions C++ Medium
637 Average of Levels in Binary Tree Python Easy
641 Design Circular Deque C++ Medium
642 Design Search Autocomplete System C++ Hard
645 Set Mismatch C++ Easy
651 4 Keys Keyboard C++ Medium
654 Maximum Binary Tree C++ Medium
656 Coin Path C++ Hard
663 Equal Tree Partition Go Medium
665 Non-decreasing Array Go Medium
669 Trim a Binary Search Tree C++ Medium
683 K Empty Slots Go Hard
684 Redundant Connection Go Medium
686 Repeated String Match Go Medium
687 Longest Univalue Path C++ Medium
689 Maximum Sum of 3 Non-Overlapping Subarrays Go Hard
693 Binary Number with Alternating Bits C++ Easy
695 Max Area of Island Go Medium
696 Count Binary Substrings C++ Easy
700 Search in a Binary Search Tree C++ Easy
701 Insert into a Binary Search Tree C++ Medium
703 Kth Largest Element in a Stream C++ Easy
704 Binary Search C++ Easy
707 Design Linked List C++ Medium
709 To Lower Case Go Easy
712 Minimum ASCII Delete Sum for Two Strings C++ Medium
714 Best Time to Buy and Sell Stock with Transaction Fee Go Medium
717 1-bit and 2-bit Characters C++ Easy
720 Longest Word in Dictionary C++ Medium
722 Basic Calculator III C++ Hard
729 My Calendar I C++ Go Medium
731 My Calendar II C++ Medium
732 My Calendar III C++ Hard
739 Daily Temperatures C++ Medium
740 Delete and Earn Go Medium
743 Network Delay Time C++ Medium
744 Find Smallest Letter Greater Than Target C++ Easy
745 Prefix and Suffix Search Go Hard
746 Min Cost Climbing Stairs Go Easy
756 Pyramid Transition Matrix C++ Medium
757 Set Intersection Size At Least Two C++ Hard
761 Special Binary String C++ Hard
762 Prime Number of Set Bits in Binary Representation C++ Easy
763 Partition Labels Go Medium
769 Max Chunks To Make Sorted Go Medium
774 Minimize Max Distance to Gas Station C++ Hard
777 Swap Adjacent in LR String C++ Medium
778 Swim in Rising Water C++ Hard
781 Rabbits in Forest Go Medium
785 Is Graph Bipartite? C++ Medium
787 Cheapest Flights Within K Stops C++ Medium
790 Domino and Tromino Tiling Go Medium
792 Number of Matching Subsequences Go Medium
796 Rotate String Go Easy
797 All Paths From Source to Target C++ Medium
799 Champagne Tower C++ Medium
802 Find Eventual Safe States Go Medium
804 Unique Morse Code Words Go Easy
808 Soup Servings C++ Medium
812 Largest Triangle Area C++ Easy
815 Bus Routes C++ Hard
820 Short Encoding of Words Go Medium
823 Binary Trees With Factors Go Medium
827 Making A Large Island Go Hard
831 Masking Personal Information Go Medium
834 Sum of Distances in Tree Go Hard
838 Push Dominoes Go Medium
840 Magic Squares In Grid C++ Medium
841 Keys and Rooms C++ Medium
848 Shifting Letters Go Medium
850 Rectangle Area II C++ Hard
852 Peak Index in a Mountain Array C++ Medium
853 Car Fleet C++ Medium
858 Mirror Reflection Go Medium
860 Lemonade Change C++ Easy
865 https://leetcode.com/problems/smallest-subtree-with-all-the-deepest-nodes C++ Medium
867 Transpose Matrix Go Python Easy
868 Binary Gap C++ Easy
869 Reordered Power of 2 C++ Medium
873 Length of Longest Fibonacci Subsequence Go Medium
875 Koko Eating Bananas C++ Medium
876 Middle of the Linked List Go Easy
877 Stone Game C++ Medium
881 Boats to Save People Go Medium
884 Uncommon Words from Two Sentences Go Easy
885 Spiral Matrix III Go Medium
886 Possible Bipartition C++ Medium
889 Construct Binary Tree from Preorder and Postorder Traversal C++ Go Medium
890 Find and Replace Pattern Go Medium
895 Maximum Frequency Stack C++ Hard
898 Bitwise ORs of Subarrays Go Medium
901 Online Stock Span C++ Medium
904 Fruit Into Baskets C++ Medium
909 Snakes and Ladders Go Medium
912 Sort an Array C++ Medium
913 Cat and Mouse C++ Hard
914 X of a Kind in a Deck of Cards C++ Easy
916 Word Subsets Go Medium
918 Maximum Sum Circular Subarray C++ Go Medium
925 Long Pressed Name C++ Easy
931 Minimum Falling Path Sum Go Medium
932 Beautiful Array C++ Medium
933 Number of Recent Calls C++ Easy
941 Valid Mountain Array C++ Easy
944 Delete Columns to Make Sorted C++ Easy
945 Minimum Increment to Make Array Unique Go Medium
948 Bag of Tokens C++ Medium
952 Largest Component Size by Common Factor C++ Hard
953 Verifying an Alien Dictionary Go Easy
955 Delete Columns to Make Sorted II C++ Medium
959 Regions Cut By Slashes C++ Go Medium
960 Delete Columns to Make Sorted III C++ Hard
961 N-Repeated Element in Size 2N Array C++ Easy
966 Vowel Spellchecker C++ Medium
968 Binary Tree Cameras Go Hard
975 Odd Even Jump Go Hard
976 Largest Perimeter Triangle C++ Go Easy
983 Minimum Cost For Tickets Go Medium
989 Add to Array-Form of Integer C++ Easy
994 Rotting Oranges C++ Medium
998 Maximum Binary Tree II C++ Medium
1007 Minimum Domino Rotations For Equal Row Go Medium
1009 Complement of Base 10 Integer C++ Easy
1011 Capacity To Ship Packages Within D Days C++ Medium
1014 Best Sightseeing Pair Go Medium
1015 Smallest Integer Divisible by K C++ Medium
1018 Binary Prefix Divisible By 5 C++ Easy
1019 Next Greater Node In Linked List C++ Medium
1021 Remove Outermost Parentheses C++ Easy
1022 Sum of Root To Leaf Binary Numbers C++ Easy
1025 Divisor Game C++ Easy
1026 Determine if String Halves Are Alike Go Medium
1028 Recover a Tree From Preorder Traversal Go Hard
1032 Stream of Characters C++ Hard
1038 Binary Search Tree to Greater Sum Tree C++ Medium
1039 Minimum Score Triangulation of Polygon C++ Medium
1046 Last Stone Weight C++ Easy
1047 Remove All Adjacent Duplicates In String C++ Easy
1048 Longest String Chain Go Medium
1051 Height Checker C++ Easy
1052 Grumpy Bookstore Owner C++ Medium
1055 Shortest Way to Form String Go Medium
1057 Campus Bikes C++ Medium
1061 Lexicographically Smallest Equivalent String Go Medium
1063 Number of Valid Subarrays C++ Hard
1066 Campus Bikes II C++ Medium
1074 Number of Submatrices That Sum to Target Go Hard
1079 Letter Tile Possibilities Go Medium
1092 Shortest Common Supersequence Go Hard
1094 Car Pooling C++ Medium
1095 Find in Mountain Array C++ Hard
1100 Find K-Length Substrings With No Repeated Characters C++ Medium
1109 Corporate Flight Bookings C++ Medium
1110 Delete Nodes And Return Forest C++ Medium
1121 Divide Array Into Increasing Sequences C++ Hard
1122 Relative Sort Array Go Easy
1123 Lowest Common Ancestor of Deepest Leaves Go Medium
1128 Number of Equivalent Domino Pairs Go Easy
1129 Shortest Path with Alternating Colors C++ Medium
1133 Largest Unique Number C++ Easy
1135 Connecting Cities With Minimum Cost C++ Medium
1137 N-th Tribonacci Number Go Easy
1143 Longest Common Subsequence Go Medium
1145 Binary Tree Coloring Game C++ Medium
1150 Check If a Number Is Majority Element in a Sorted Array C++ Easy
1151 Minimum Swaps to Group All 1's Together C++ Medium
1152 Analyze User Website Visit Pattern C++ Medium
1161 Maximum Level Sum of a Binary Tree C++ Medium
1168 Optimize Water Distribution in a Village C++ Hard
1176 Diet Plan Performance C++ Easy
1181 Before and After Puzzle C++ Medium
1182 Shortest Distance to Target Color C++ Medium
1183 Maximum Number of Ones C++ Hard
1191 K-Concatenation Maximum Sum C++ Medium
1198 Find Smallest Common Element in All Rows C++ Medium
1200 Minimum Absolute Difference C++ Easy
1207 Unique Number of Occurrences Go Easy
1209 Remove All Adjacent Duplicates in String II C++ Medium
1214 Two Sum BSTs C++ Medium
1220 Count Vowels Permutation C++ Go Hard
1232 Check If It Is a Straight Line Go Easy
1233 Remove Sub-Folders from the Filesystem Go Medium
1244 Design A Leaderboard C++ Medium
1255 Maximum Score Words Formed by Letters Go Hard
1261 Find Elements in a Contaminated Binary Tree Go Medium
1262 Greatest Sum Divisible by Three C++ Medium
1266 Minimum Time Visiting All Points C++ Easy
1267 Count Servers that Communicate Go Medium
1268 Search Suggestions System Go Medium
1277 Count Square Submatrices with All Ones C++ Medium
1281 Subtract the Product and Sum of Digits of an Integer Go Easy
1289 Minimum Falling Path Sum II Go Hard
1290 Convert Binary Number in a Linked List to Integer Go Easy
1292 Maximum Side Length of a Square with Sum Less than or Equal to Threshold C++ Medium
1295 Find Numbers with Even Number of Digits Go Easy
1298 Maximum Candies You Can Get from Boxes Go Hard
1304 Find N Unique Integers Sum up to Zero C++ Easy
1309 Decrypt String from Alphabet to Integer Mapping Go Easy
1311 Get Watched Videos by Your Friends C++ Medium
1314 Matrix Block Sum C++ Go Medium
1317 Convert Integer to the Sum of Two No-Zero Integers C++ Easy
1332 Remove Palindromic Subsequences Go Easy
1334 Find the City With the Smallest Number of Neighbors at a Threshold Distance C++ Medium
1338 Reduce Array Size to The Half Go Medium
1339 Maximum Product of Splitted Binary Tree C++ Medium
1342 Number of Steps to Reduce a Number to Zero C++ Go Easy
1343 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold C++ Medium
1346 Check If N and Its Double Exist Go Easy
1347 Minimum Number of Steps to Make Two Strings Anagram Go Medium
1351 Count Negative Numbers in a Sorted Matrix C++ Easy
1352 Product of the Last K Numbers Go Medium
1353 Maximum Number of Events That Can Be Attended Go Medium
1354 Construct Target Array With Multiple Sums C++ Go Hard
1356 Sort Integers by The Number of 1 Bits C++ Go Easy
1358 Number of Substrings Containing All Three Characters C++ Go Medium
1365 How Many Numbers Are Smaller Than the Current Number C++ Easy
1368 Minimum Cost to Make at Least One Valid Path in a Grid Go Hard
1382 Balance a Binary Search Tree C++ Medium
1386 Cinema Seat Allocation C++ Medium
1390 Four Divisors C++ Medium
1392 Longest Happy Prefix C++ Hard
1394 Find Lucky Integer in an Array Go Easy
1399 Count Largest Group Go Easy
1400 Construct K Palindrome Strings Go Medium
1404 Number of Steps to Reduce a Number in Binary Representation to One C++ Medium
1405 Longest Happy String Go Medium
1408 String Matching in an Array Go Easy
1411 Number of Ways to Paint N × 3 Grid C++ Hard
1415 The k-th Lexicographical String of All Happy Strings of Length n C++ Go Medium
1422 Maximum Score After Splitting a String Go Easy
1423 Maximum Points You Can Obtain from Cards Go Medium
1429 First Unique Number Go Medium
1432 Max Difference You Can Get From Changing an Integer Go Medium
1437 Check If All 1's Are at Least Length K Places Away C++ Easy
1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Go Medium
1441 Build an Array With Stack Operations C++ Medium
1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence Go Easy
1458 Max Dot Product of Two Subsequences C++ Hard
1460 Make Two Arrays Equal by Reversing Subarrays Go Easy
1461 Check If a String Contains All Binary Codes of Size K C++ Go Medium
1462 Course Schedule IV C++ Go Medium
1465 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts Go Medium
1470 Shuffle the Array C++ Easy
1473 Paint House III Go Hard
1474 Delete N Nodes After M Nodes of a Linked List Go Easy
1475 Final Prices With a Special Discount in a Shop C++ Go Easy
1480 Running Sum of 1d Array Go Easy
1482 Minimum Number of Days to Make m Bouquets C++ Medium
1488 Avoid Flood in The City C++ Medium
1489 Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree C++ Hard
1491 Average Salary Excluding the Minimum and Maximum Salary Go Easy
1492 The kth Factor of n C++ Medium
1498 Number of Subsequences That Satisfy the Given Sum Condition Go Medium
1502 Can Make Arithmetic Progression From Sequence Go Easy
1507 Reformat Date Go Easy
1508 Range Sum of Sorted Subarray Sums Go Medium
1509 Minimum Difference Between Largest and Smallest Value in Three Moves Go Medium
1513 [https://leetcode.com/problems/number-of-substrings-with-only-1s](Number of Substrings With Only 1s) C++ Medium
1518 Water Bottles C++ Easy
1523 Count Odd Numbers in an Interval Range C++ Go Easy
1524 Number of Sub-arrays With Odd Sum Go Medium
1526 Minimum Number of Increments on Subarrays to Form a Target Array C++ Hard
1534 Count Good Triplets Go Easy
1536 Minimum Swaps to Arrange a Binary Grid C++ Medium
1545 Find Kth Bit in Nth Binary String C++ Medium
1550 Three Consecutive Odds Go Easy
1554 Strings Differ by One Character C++ Medium
1557 Minimum Number of Vertices to Reach All Nodes C++ Medium
1567 Maximum Length of Subarray With Positive Product Go Medium
1570 Dot Product of Two Sparse Vectors C++ Medium
1572 Matrix Diagonal Sum Go Easy
1578 Minimum Time to Make Rope Colorful C++ Medium
1582 Special Positions in a Binary Matrix C++ Easy
1584 Min Cost to Connect All Points C++ Medium
1588 Sum of All Odd Length Subarrays Go Easy
1590 Make Sum Divisible by P C++ Medium
1593 // Split a String Into the Max Number of Unique Substrings Go Medium
1594 Maximum Non Negative Product in a Matrix C++ Medium
1603 Design Parking System Go Easy
1611 Minimum One Bit Operations to Make Integers Zero C++ Hard
1622 Fancy Sequence C++ Hard
1625 Lexicographically Smallest String After Applying Operations C++ Medium
1639 Number of Ways to Form a Target String Given a Dictionary Go Hard
1642 Furthest Building You Can Reach Go Medium
1644 Lowest Common Ancestor of a Binary Tree II C++ Medium
1647 Minimum Deletions to Make Character Frequencies Unique Go Medium
1650 Lowest Common Ancestor of a Binary Tree III C++ Medium
1653 Minimum Deletions to Make String Balanced C++ Go Medium
1657 Determine if Two Strings Are Close Go Medium
1658 Minimum Operations to Reduce X to Zero Go Medium
1664 Ways to Make a Fair Array C++ Medium
1668 Maximum Repeating Substring Go Easy
1670 Design Front Middle Back Queue C++ Medium
1672 Richest Customer Wealth Go Easy
1676 Lowest Common Ancestor of a Binary Tree IV C++ Medium
1678 Goal Parser Interpretation Go Easy
1680 Concatenation of Consecutive Binary Numbers C++ Medium
1689 Partitioning Into Minimum Number Of Deci-Binary Numbers C++ Go Medium
1695 Maximum Erasure Value Go Medium
1696 Jump Game VI Go Medium
1697 Checking Existence of Edge Length Limited Paths C++ Hard
1700 Number of Students Unable to Eat Lunch C++ Easy
1704 Determine if String Halves Are Alike Go Easy
1705 Maximum Number of Eaten Apples C++ Medium
1710 Maximum Units on a Truck Go Easy
1716 Calculate Money in Leetcode Bank C++ Easy
1717 Maximum Score From Removing Substrings Go Medium
1718 Construct the Lexicographically Largest Valid Sequence Go Medium
1724 Checking Existence of Edge Length Limited Paths II C++ Hard
1726 Tuple with Same Product Go Medium
1727 Largest Submatrix With Rearrangements C++ Medium
1732 Find the Highest Altitude C++ Easy
1733 Minimum Number of People to Teach C++ Medium
1749 Maximum Absolute Sum of Any Subarray Go Medium
1751 Maximum Number of Events That Can Be Attended II Go Medium
1752 Check if Array Is Sorted and Rotated Go Easy
1756 Design Most Recently Used Queue C++ Medium
1758 Minimum Changes To Make Alternating Binary String C++ Easy
1760 Minimum Limit of Balls in a Bag Go Medium
1762 Buildings With an Ocean View C++ Medium
1765 Map of Highest Peak C++ Go Medium
1768 Merge Strings Alternately Go Easy
1769 Minimum Number of Operations to Move All Balls to Each Box Go Medium
1779 Find Nearest Point That Has the Same X or Y Coordinate Go Easy
1780 Check if Number is a Sum of Powers of Three Go Medium
1784 Check if Binary String Has at Most One Segment of Ones C++ Easy
1790 Check if One String Swap Can Make Strings Equal Go Easy
1792 Maximum Average Pass Ratio C++ Go Medium
1797 Checking Existence of Edge Length Limited Paths C++ Hard
1800 Maximum Ascending Subarray Sum Go Easy
1822 Sign of the Product of an Array Go Easy
1857 Largest Color Value in a Directed Graph Go Hard
1863 Sum of All Subset XOR Totals Go Easy
1865 Finding Pairs With a Certain Sum Go Medium
1874 Minimize Product Sum of Two Arrays C++ Medium
1877 Minimize Maximum Pair Sum in Array C++ Medium
1878 Get Biggest Three Rhombus Sums in a Grid C++ Medium
1886 Determine Whether Matrix Can Be Obtained By Rotation C++ Easy
1887 Reduction Operations to Make the Array Elements Equal C++ Medium
1888 Minimum Number of Flips to Make the Binary String Alternating C++ Medium
1895 Largest Magic Square C++ Medium
1900 The Earliest and Latest Rounds Where Players Compete Go Hard
1910 Remove All Occurrences of a Substring Go Medium
1912 Design Movie Rental System C++ Medium
1915 Number of Wonderful Substrings Go Medium
1920 Build Array from Permutation Go Easy
1922 Count Good Numbers Go Medium
1925 Count Square Sum Triples C++ Easy
1929 Concatenation of Array C++ Easy
1930 Unique Length-3 Palindromic Subsequences C++ Go Medium
1931 Painting a Grid With Three Different Colors Go Hard
1935 Maximum Number of Words You Can Type C++ Medium
1944 Number of Visible People in a Queue C++ Hard
1948 Delete Duplicate Folders in System Go Hard
1957 Delete Characters to Make Fancy String Go Easy
1970 Last Day Where You Can Still Cross C++ Hard
1971 Find if Path Exists in Graph C++ Easy
1975 Maximum Matrix Sum C++ Medium
1976 Number of Ways to Arrive at Destination Go Medium
1979 Find Greatest Common Divisor of Array C++ Easy
1980 Find Unique Binary String C++ Go Medium
1984 Minimum Difference Between Highest and Lowest of K Scores C++ Easy
2000 Reverse Prefix of Word Go Easy
2011 Final Value of Variable After Performing Operations C++ Easy
2014 Longest Subsequence Repeated k Times Go Hard
2016 Maximum Difference Between Increasing Elements Go Easy
2017 Grid Game Go Medium
2031 Count Subarrays With More Ones Than Zeros C++ Medium
2033 Minimum Operations to Make a Uni-Value Grid Go Medium
2037 Minimum Number of Moves to Seat Everyone Go Easy
2040 Kth Smallest Product of Two Sorted Arrays Go Hard
2043 Simple Bank System C++ Medium
2044 Count Number of Maximum Bitwise-OR Subsets Go Medium
2048 Next Greater Numerically Balanced Number C++ Medium
2054 Two Best Non-Overlapping Events C++ Go Medium
2065 Maximum Path Quality of a Graph C++ Hard
2071 Maximum Number of Tasks You Can Assign Go Hard
2073 Time Needed to Buy Tickets C++ Easy
2076 Process Restricted Friend Requests C++ Hard
2081 Sum of k-Mirror Numbers Go Hard
2092 Find All People With Secret C++ Hard
2094 Finding 3-Digit Even Numbers Go Easy
2099 Find Subsequence of Length K With the Largest Sum Go Easy
2106 Maximum Fruits Harvested After at Most K Steps C++ Hard
2109 Adding Spaces to a String Go Medium
2110 Number of Smooth Descent Periods of a Stock C++ Medium
2115 Find All Possible Recipes from Given Supplies Go Medium
2116 Check if a Parentheses String Can Be Valid Go Medium
2125 Number of Laser Beams in a Bank C++ Go Medium
2127 Maximum Employees to Be Invited to a Meeting Go Hard
2131 Longest Palindrome by Concatenating Two Letter Words Go Medium
2134 Minimum Swaps to Group All 1's Together II Go Medium
2138 Divide a String Into Groups of Size k Go Easy
2140 Solving Questions With Brainpower Go Medium
2141 Maximum Running Time of N Computers C++ Hard
2145 Count the Hidden Sequences Go Medium
2147 Number of Ways to Divide a Long Corridor C++ Hard
2154 Keep Multiplying Found Values by Two C++ Easy
2158 Amount of New Area Painted Each Day C++ Hard
2161 Partition Array According to Given Pivot Go Easy
2163 Minimum Difference in Sums After Removal of Elements Go Hard
2168 Unique Substrings With Equal Digit Frequency C++ Medium
2169 Count Operations to Obtain Zero C++ Easy
2176 Count Equal and Divisible Pairs in an Array Go Easy
2179 Count Good Triplets in an Array Go Hard
2181 Merge Nodes in Between Zeros Go Medium
2182 Construct String With Repeat Limit Go Medium
2185 Counting Words With a Given Prefix Go Easy
2196 Create Binary Tree From Descriptions C++ Medium
2197 Replace Non-Coprime Numbers in Array C++ Hard
2200 Find All K-Distant Indices in an Array Go Easy
2203 Minimum Weighted Subgraph With the Required Paths C++ Hard
2206 Divide Array Into Equal Pairs Go Easy
2210 Count Hills and Valleys in an Array Go Easy
2211 Count Collisions on a Road C++ Medium
2221 Find Triangular Sum of an Array C++ Easy
2223 Sum of Scores of Built Strings C++ Hard
2225 Find Players With Zero or One Losses Go Medium
2235 Add Two Integers C++ Easy
2236 Root Equals Sum of Children C++ Easy
2257 Count Unguarded Cells in the Grid C++ Medium
2266 Maximum Candies Allocated to K Children Go Medium
2270 Number of Ways to Split Array Go Medium
2273 Find Resultant Array After Removing Anagrams C++ Easy
2294 Partition Array Such That Maximum Difference Is K Go Medium
2300 Successful Pairs of Spells and Potions C++ Medium
2302 Count Subarrays With Score Less Than K Go Hard
2311 Longest Binary Subsequence Less Than or Equal to K Go Medium
2319 Check if Matrix Is X-Matrix Go Easy
2320 Count Number of Ways to Place Houses Go Medium
2321 Maximum Score Of Spliced Array Go Hard
2322 Minimum Score After Removals on a Tree Go Hard
2326 Spiral Matrix IV Go Medium
2327 Number of People Aware of a Secret C++ Medium
2331 Evaluate Boolean Binary Tree Go Easy
2337 Move Pieces to Obtain a String Go Medium
2338 Count the Number of Ideal Arrays Go Hard
2342 Max Sum of a Pair With Equal Sum of Digits Go Medium
2345 Finding the Number of Visible Mountains C++ Medium
2349 Design a Number Container System Go Medium
2353 Design a Food Rating System C++ Medium
2364 Count Number of Bad Pairs Go Medium
2375 Construct Smallest Number From DI String Go Medium
2379 Minimum Recolors to Get K Consecutive Black Blocks Go Easy
2381 Shifting Letters II Go Medium
2401 Longest Nice Subarray Go Medium
2402 Meeting Rooms III C++ Go Hard
2410 Maximum Matching of Players With Trainers Go Medium
2411 Smallest Subarrays With Maximum Bitwise OR Go Medium
2415 Reverse Odd Levels of Binary Tree Go Medium
2419 Longest Subarray With Maximum Bitwise AND Go Medium
2425 Bitwise XOR of All Pairings Go Medium
2429 Minimize XOR Go Medium
2434 Using a Robot to Print the Lexicographically Smallest String Go Medium
2435 Paths in Matrix Whose Sum Is Divisible by K C++ Hard
2438 Range Product Queries of Powers C++ Medium
2441 Largest Positive Integer That Exists With Its Negative Go Easy
2444 Count Subarrays With Fixed Bounds Go Hard
2460 Apply Operations to an Array Go Easy
2464 Minimum Subarrays in a Valid Split C++ Medium
2466 Count Ways To Build Good Strings Go Medium
2467 Most Profitable Path in a Tree Go Medium
2471 Minimum Number of Operations to Sort a Binary Tree by Level Go Medium
2472 Maximum Number of Non-overlapping Palindrome Substrings C++ Hard
2483 Minimum Penalty for a Shop C++ Medium
2487 Remove Nodes From Linked List Go Medium
2492 Minimum Score of a Path Between Two Cities C++ Medium
2493 Divide Nodes Into the Maximum Number of Groups Go Hard
2503 Maximum Number of Points From Grid Queries Go Hard
2508 Add Edges to Make Degrees of All Nodes Even C++ Hard
2523 Closest Prime Numbers in Range Go Medium
2528 Maximize the Minimum Powered City C++ Hard
2529 Maximum Count of Positive Integer and Negative Integer Go Easy
2536 Increment Submatrices by One C++ Medium
2537 Count the Number of Good Subarrays Go Medium
2551 Put Marbles in Bags Go Hard
2554 Maximum Number of Integers to Choose From a Range I Go Medium
2558 Take Gifts From the Richest Pile Go Easy
2559 Count Vowel Strings in Ranges Go Medium
2560 House Robber IV Go Medium
2561 Rearranging Fruits C++ Hard
2563 Count the Number of Fair Pairs Go Medium
2566 Maximum Difference by Remapping a Digit Go Easy
2570 Merge Two 2D Arrays by Summing Values Go Easy
2571 Minimum Operations to Reduce an Integer to 0 C++ Medium
2579 Count Total Number of Colored Cells Go Medium
2593 Find Score of an Array After Marking All Elements Go Medium
2594 Minimum Time to Repair Cars Go Medium
2598 Smallest Missing Non-negative Integer After Operations C++ Medium
2616 Minimize the Maximum Difference of Pairs Go Medium
2642 Design Graph With Shortest Path Calculator C++ Hard
2654 Minimum Number of Operations to Make All Array Elements Equal to 1 C++ Medium
2657 Find the Prefix Common Array of Two Arrays Go Medium
2658 Maximum Number of Fish in a Grid Go Medium
2661 First Completely Painted Row or Column Go Python Medium
2672 Number of Adjacent Elements With the Same Color C++ Medium
2683 Neighboring Bitwise XOR Go Medium
2685 Count the Number of Complete Components C++ Go Medium
2698 Find the Punishment Number of an Integer Go Medium
2737 Find the Closest Marked Node C++ Medium
2749 Minimum Operations to Make the Integer Zero C++ Medium
2762 Continuous Subarrays Go Medium
2779 Maximum Beauty of an Array After Applying Operation Go Medium
2780 Minimum Index of a Valid Split Go Medium
2785 Sort Vowels in a String C++ Medium
2791 Count Paths That Can Form a Palindrome in a Tree C++ Hard
2799 Count Complete Subarrays in an Array Go Medium
2816 Double a Number Represented as a Linked List Go Medium
2818 Apply Operations to Maximize Score Go Medium
2825 Make String a Subsequence Using Cyclic Increments Go Medium
2843 Count Symmetric Integers Go Easy
2845 Count of Interesting Subarrays Go Medium
2870 Minimum Number of Operations to Make Array Empty Go Medium
2872 Maximum Number of K-Divisible Components C++ Go Medium
2873 Maximum Value of an Ordered Triplet I Go Easy
2874 Maximum Value of an Ordered Triplet II Go Medium
2894 Divisible and Non-divisible Sums Difference Go Easy
2900 Longest Unequal Adjacent Groups Subsequence I Go Easy
2901 Longest Unequal Adjacent Groups Subsequence II Go Medium
2906 Construct Product Matrix C++ Medium
2918 Minimum Equal Sum of Two Arrays After Replacing Zeros Go Medium
2927 Distribute Candies Among Children III Go Hard
2928 Distribute Candies Among Children I Go Easy
2929 Distribute Candies Among Children II Go Medium
2938 Separate Black and White Balls Go Medium
2940 Find Building Where Alice and Bob Can Meet C++ Go Hard
2942 Find Words Containing Character Go Easy
2943 Maximize Area of Square Hole in Grid C++ Medium
2948 Make Lexicographically Smallest Array by Swapping Elements Go Medium
2962 Count Subarrays Where Max Element Appears at Least K Times Go Medium
2965 Find Missing and Repeated Values Go Medium
2966 Divide Array Into Arrays With Max Difference Go Medium
2975 Maximum Square Area by Removing Fences From a Field C++ Medium
2976 Minimum Cost to Convert String I C++ Medium
2977 Minimum Cost to Convert String II C++ Medium
2981 Find Longest Special Substring That Occurs Thrice I Go Medium
2997 Minimum Number of Operations to Make Array XOR Equal to K Go Medium
2999 Count the Number of Powerful Integers Go Hard
3000 Maximum Area of Longest Diagonal Rectangle C++ Easy
3003 Maximize the Number of Partitions After Operations C++ Hard
3005 Count Elements With Maximum Frequency C++ Easy
3010 Divide an Array Into Subarrays With Minimum Cost I C++ Easy
3013 Divide an Array Into Subarrays With Minimum Cost II C++ Hard
3016 Minimum Number of Pushes to Type Word II Go Medium
3021 Alice and Bob Playing Flower Game C++ Medium
3024 Type of Triangle Go Easy
3025 Find the Number of Ways to Place People I C++ Medium
3027 Find the Number of Ways to Place People II C++ Medium
3042 Count Prefix and Suffix Pairs I Go Easy
3047 Find the Largest Area of Square Inside Two Rectangles C++ Medium
3066 Minimum Operations to Exceed Threshold Value II Go Medium
3068 Find the Maximum Sum of Node Values Go Medium
3070 Count Submatrices with Top-Left Element and Sum Less Than k C++ Medium
3074 Apple Redistribution into Boxes C++ Easy
3075 Maximize Happiness of Selected Children C++ Go Medium
3085 Minimum Deletions to Make String K-Special Go Medium
3100 Water Bottles II C++ Medium
3105 Longest Strictly Increasing or Strictly Decreasing Subarray Go Easy
3108 Minimum Cost Walk in Weighted Graph Go Hard
3114 Construct the Minimum Bitwise Array I C++ Easy
3115 Maximum Prime Difference C++ Medium
3129 Find All Possible Stable Binary Arrays I C++ Medium
3130 Find All Possible Stable Binary Arrays II C++ Hard
3136 Valid Word Go Easy
3147 Taking Maximum Energy From the Mystic Dungeon C++ Medium
3151 Special Array I Go Easy
3152 Special Array II Go Medium
3160 Find the Number of Distinct Colors Among the Balls Go Medium
3169 Count Days Without Meetings Go Medium
3170 Lexicographically Minimum String After Removing Stars Go Medium
3174 Clear Digits Go Easy
3186 Maximum Total Damage With Spell Casting C++ Medium
3190 Find Minimum Operations to Make All Elements Divisible by Three C++ Easy
3191 Minimum Operations to Make Binary Array Elements Equal to One I Go Medium
3201 Find the Maximum Length of Valid Subsequence I Go Medium
3202 Find the Maximum Length of Valid Subsequence II Go Medium
3203 Find Minimum Diameter After Merging Two Trees Go Hard
3208 Alternating Groups II Go Medium
3212 Count Submatrices With Equal Frequency of X and Y C++ Medium
3217 Delete Nodes From Linked List Present in Array C++ Medium
3223 Minimum Length of String After Operations Go Medium
3227 Vowels Game in a String C++ Medium
3228 Maximum Number of Operations to Move Ones to the End C++ Medium
3234 Count the Number of Substrings With Dominant Ones C++ Medium
3264 Final Array State After K Multiplication Operations I Go Easy
3272 Find the Count of Good Integers Go Hard
3296 Minimum Number of Seconds to Make Mountain Height Zero C++ Medium
3304 Find the K-th Character in String Game I Go Easy
3306 Count of Substrings Containing Every Vowel and K Consonants II Go Medium
3307 Find the K-th Character in String Game II Go Hard
3315 Construct the Minimum Bitwise Array II C++ Medium
3318 Find X-Sum of All K-Long Subarrays I C++ Easy
3321 Find X-Sum of All K-Long Subarrays II C++ Hard
3330 Find the Original Typed String I Go Easy
3333 Find the Original Typed String II Go Easy
3335 Zero Array Transformation I Go Medium
3337 Total Characters in String After Transformations II Go Hard
3341 Find Minimum Time to Reach Last Room I Go Medium
3342 Find Minimum Time to Reach Last Room II Go Medium
3343 Count Number of Balanced Permutations Go Hard
3346 Maximum Frequency of an Element After Performing Operations I C++ Medium
3347 Maximum Frequency of an Element After Performing Operations II C++ Medium
3349 Adjacent Increasing Subarrays Detection I C++ Easy
3350 Adjacent Increasing Subarrays Detection II C++ Medium
3354 Make Array Elements Equal to Zero C++ Easy
3355 Total Characters in String After Transformations I Go Medium
3356 Zero Array Transformation II Go Medium
3359 Find Closest Node to Given Two Nodes Go Medium
3362 Zero Array Transformation III Go Medium
3363 Find the Maximum Number of Fruits Collected C++ Hard
3370 Smallest Number With All Set Bits C++ Easy
3372 Maximize the Number of Target Nodes After Connecting Trees I Go Medium
3373 Maximize the Number of Target Nodes After Connecting Trees II Go Medium
3375 Minimum Operations to Make Array Values Equal to K Go Medium
3379 Transformed Array C++ Easy
3389 The Two Sneaky Numbers of Digitville C++ Easy
3392 Count Subarrays of Length Three With a Condition Go Easy
3394 Check if Grid can be Cut into Sections Go Medium
3396 Minimum Number of Operations to Make Elements in Array Distinct Go Easy
3397 Maximum Number of Distinct Elements After Operations C++ Medium
3403 Find the Lexicographically Largest String From the Box I Go Medium
3405 Count the Number of Arrays with K Matching Adjacent Elements Go Hard
3408 Design Task Manager C++ Medium
3423 Maximum Difference Between Adjacent Elements in a Circular Array Go Easy
3432 Count Partitions with Even Sum Difference C++ Easy
3433 Count Mentions Per User C++ Medium
3439 Reschedule Meetings for Maximum Free Time I Go Medium
3440 Reschedule Meetings for Maximum Free Time II Go Medium
3442 Maximum Difference Between Even and Odd Frequency I Go Easy
3443 Maximum Manhattan Distance After K Changes Go Medium
3445 Maximum Difference Between Even and Odd Frequency II Go Hard
3446 Sort Matrix by Diagonals C++ Medium
3453 Separate Squares I C++ Medium
3454 Separate Squares II C++ Hard
3459 Length of Longest V-Shaped Diagonal Segment C++ Hard
3461 Check If Digits Are Equal in String After Operations I C++ Easy
3477 Fruits Into Baskets II C++ Easy
3479 Fruits Into Baskets III C++ Medium
3480 Maximize Subarrays After Removing One Conflicting Pair Go Hard
3484 Design Spreadsheet C++ Medium
3487 Maximum Unique Subarray Sum After Deletion Go Easy
3494 Find the Minimum Amount of Time to Brew Potions C++ Medium
3495 Minimum Operations to Make Array Elements Zero C++ Hard
3507 Minimum Pair Removal to Sort Array I C++ Easy
3508 Implement Router C++ Medium
3510 Minimum Pair Removal to Sort Array II C++ Hard
3512 Minimum Operations to Make Array Sum Divisible by K C++ Easy
3516 Find Closest Person C++ Easy
3531 Count Covered Buildings C++ Medium
3539 Find Sum of Array Product of Magical Sequences C++ Hard
3541 Find Most Frequent Vowel and Consonant C++ Easy
3542 Minimum Operations to Convert All Elements to Zero C++ Medium
3546 Equal Sum Grid Partition I C++ Medium
3548 Equal Sum Grid Partition II C++ Hard
3562 Maximum Profit from Trading Stocks with Discounts C++ Hard
3567 Minimum Absolute Difference in Sliding Submatrix C++ Medium
3573 Best Time to Buy and Sell Stock V C++ Medium
3577 Count the Number of Computer Unlocking Permutations C++ Medium
3578 Count Partitions With Max-Min Difference at Most K C++ Medium
3583 Count Special Triplets C++ Medium
3600 Maximize Spanning Tree Stability with Upgrades C++ Hard
3606 Coupon Code Validator C++ Easy
3607 Power Grid Maintenance C++ Medium
3623 Count Number of Trapezoids I C++ Medium
3625 Count Number of Trapezoids II C++ Medium
3634 Minimum Removals to Balance Array C++ Medium
3637 Trionic Array I C++ Easy
3640 Trionic Array II C++ Hard
3643 Flip Square Submatrix Vertically C++ Easy
3650 Minimum Cost Path with Edge Reversals C++ Medium
3651 Minimum Cost Path with Teleportations C++ Hard
3652 Best Time to Buy and Sell Stock using Strategy C++ Medium
3666 Minimum Operations to Equalize Binary String C++ Hard
3713 Longest Balanced Substring I C++ Medium
3714 Longest Balanced Substring II C++ Medium
3719 Longest Balanced Subarray I C++ Medium
3721 Longest Balanced Subarray II C++ Medium
3815 Design Auction System C++ Medium
3881 Maximum Subarray Sum With Length Divisible by K C++ Medium

About

LeetCode Problems' Solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors