Skip to content

omarhosny206/leetcode-problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis

Recording my journey on LeetCode

778+ Solved Questions



# Title Solution Difficulty
1 Two Sum C++ C++ Easy
2 Add Two Numbers C++ C++ Medium
3 Longest Substring Without Repeating Characters C++ C++ Medium
5 Longest Palindromic Substring C++ Medium
6 Zigzag Conversion C++ Medium
7 Reverse Integer C++ Medium
8 String to Integer (atoi) C++ Medium
9 Palindrome Number C++ Easy
11 Container With Most Water C++ Medium
12 Integer to Roman C++ C++ Medium
13 Roman to Integer C++ Easy
14 Longest Common Prefix C++ C++ Easy
15 3Sum C++ C++ Medium
16 3Sum Closest C++ Medium
17 Letter Combinations of a Phone Number C++ C++ Medium
18 4Sum C++ Medium
19 Remove Nth Node From End of List C++ C++ Medium
20 Valid Parentheses C++ C++ Easy
21 Merge Two Sorted Lists C++ C++ C++ Easy
22 Generate Parentheses C++ C++ C++ C++ Medium
23 Merge k Sorted Lists C++ C++ C++ C++ C++ C++ Hard
24 Swap Nodes in Pairs C++ C++ C++ C++ Medium
26 Remove Duplicates from Sorted Array C++ Easy
27 Remove Element C++ C++ Easy
28 Find the Index of the First Occurrence in a String C++ C++ Medium
31 Next Permutation C++ Medium
33 Search in Rotated Sorted Array C++ Medium
34 Find First and Last Position of Element in Sorted Array C++ Medium
35 Search Insert Position C++ C++ Easy
36 Valid Sudoku C++ Medium
38 Count and Say C++ Medium
39 Combination Sum C++ Medium
40 Combination Sum II C++ Medium
41 First Missing Positive C++ C++ Hard
42 Trapping Rain Water C++ Hard
43 Multiply Strings C++ Medium
46 Permutations C++ Medium
47 Permutations II C++ Medium
48 Rotate Image C++ C++ C++ Medium
49 Group Anagrams C++ C++ Medium
50 Pow(x, n) C++ Medium
53 Maximum Subarray C++ C++ Easy
54 Spiral Matrix C++ C++ Medium
55 Jump Game C++ Medium
56 Merge Intervals C++ Medium
57 Insert Interval C++ C++ Medium
58 Length of Last Word C++ Easy
59 Spiral Matrix II C++ Medium
61 Rotate List C++ Medium
62 Unique Paths C++ Medium
63 Unique Paths II C++ Medium
64 Minimum Path Sum C++ C++ C++ C++ Medium
66 Plus One C++ Easy
67 Add Binary C++ Easy
69 Sqrt(x) C++ Easy
70 Climbing Stairs C++ C++ Easy
71 Simplify Path C++ C++ Medium
72 Edit Distance C++ C++ Hard
73 Set Matrix Zeroes C++ Medium
74 Search a 2D Matrix C++ C++ C++ Medium
75 Sort Colors C++ Medium
76 Minimum Window Substring C++ C++ Hard
77 Combinations C++ Medium
78 Subsets C++ C++ Medium
79 Word Search C++ Medium
80 Remove Duplicates from Sorted Array II C++ C++ C++ Medium
81 Search in Rotated Sorted Array II C++ Medium
82 Remove Duplicates from Sorted List II C++ C++ C++ Medium
83 Remove Duplicates from Sorted List C++ C++ C++ Easy
84 Largest Rectangle in Histogram C++ Hard
86 Partition List C++ Medium
88 Merge Sorted Array C++ Easy
89 Gray Code C++ C++ C++ Medium
90 Subsets II C++ C++ C++ Medium
91 Decode Ways C++ Medium
92 Reverse Linked List II C++ C++ C++ Medium
93 Restore IP Addresses C++ Medium
94 Binary Tree Inorder Traversal C++ Easy
96 Unique Binary Search Trees C++ Medium
97 Interleaving String C++ Medium
98 Validate Binary Search Tree C++ C++ Medium
99 Recover Binary Search Tree C++ C++ C++ Medium
100 Same Tree C++ Easy
101 Symmetric Tree C++ C++ Easy
102 Binary Tree Level Order Traversal C++ Medium
103 Binary Tree Zigzag Level Order Traversal C++ Medium
104 Maximum Depth of Binary Tree C++ C++ C++ Easy
105 Construct Binary Tree from Preorder and Inorder Traversal C++ Medium
106 Construct Binary Tree from Inorder and Postorder Traversal C++ C++ Medium
107 Binary Tree Level Order Traversal II C++ Medium
108 Convert Sorted Array to Binary Search Tree C++ Easy
109 Convert Sorted List to Binary Search Tree C++ C++ C++ Medium
110 Balanced Binary Tree C++ Easy
111 Minimum Depth of Binary Tree C++ Easy
112 Path Sum C++ Easy
113 Path Sum II C++ C++ Medium
114 Flatten Binary Tree to Linked List C++ Medium
116 Populating Next Right Pointers in Each Node C++ C++ Medium
117 Populating Next Right Pointers in Each Node II C++ C++ Medium
118 Pascal's Triangle C++ Easy
120 Triangle C++ Medium
121 Best Time to Buy and Sell Stock C++ C++ C++ Easy
122 Best Time to Buy and Sell Stock II C++ Medium
123 Best Time to Buy and Sell Stock III C++ Hard
124 Binary Tree Maximum Path Sum C++ Hard
125 Valid Palindrome C++ Easy
127 Word Ladder C++ Hard
128 Longest Consecutive Sequence C++ C++ Medium
129 Sum Root to Leaf Numbers C++ Medium
130 Surrounded Regions C++ Medium
131 Palindrome Partitioning C++ Medium
133 Clone Graph C++ C++ C++ Medium
134 Gas Station C++ Medium
135 Candy C++ Hard
136 Single Number C++ C++ C++ C++ Easy
137 Single Number II C++ Medium
138 Copy List with Random Pointer C++ C++ Medium
139 Word Break C++ Medium
141 Linked List Cycle C++ C++ Easy
142 Linked List Cycle II C++ 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
148 Sort List C++ C++ Medium
149 Max Points on a Line C++ Hard
151 Reverse Words in a String C++ Medium
152 Maximum Product Subarray C++ Medium
153 Find Minimum in Rotated Sorted Array C++ Medium
155 Min Stack C++ Easy
160 Intersection of Two Linked Lists C++ C++ Easy
162 Find Peak Element C++ C++ Medium
165 Compare Version Numbers C++ Medium
167 Two Sum II - Input array is sorted C++ C++ C++ Medium
168 Excel Sheet Column Title C++ Easy
169 Majority Element C++ C++ C++ C++ Easy
171 Excel Sheet Column Number C++ Easy
173 Binary Search Tree Iterator C++ C++ C++ C++ Medium
179 Largest Number C++ Medium
188 Best Time to Buy and Sell Stock IV C++ Hard
189 Rotate Array C++ Medium
191 Number of 1 Bits C++ C++ Easy
198 House Robber C++ Medium
199 Binary Tree Right Side View C++ C++ C++ Medium
200 Number of Islands C++ C++ Medium
202 Happy Number C++ Easy
203 Remove Linked List Elements C++ C++ Easy
204 Count Primes C++ Medium
205 Isomorphic Strings C++ C++ Easy
206 Reverse Linked List C++ C++ C++ Easy
207 Course Schedule C++ C++ Medium
208 Implement Trie (Prefix Tree) C++ C++ Medium
209 Minimum Size Subarray Sum C++ Medium
210 Course Schedule II C++ C++ C++ Medium
211 Design Add and Search Words Data Structure C++ Medium
212 Word Search II C++ C++ Hard
213 House Robber II C++ Medium
215 Kth Largest Element in an Array C++ C++ Medium
216 Combination Sum III C++ Medium
217 Contains Duplicate C++ C++ C++ Easy
219 Contains Duplicate II C++ Easy
220 Contains Duplicate III C++ Medium
221 Maximal Square C++ Medium
222 Count Complete Tree Nodes C++ C++ C++ Medium
225 Implement Stack using Queues C++ C++ C++ Easy
226 Invert Binary Tree C++ C++ C++ Easy
228 Summary Ranges C++ Easy
229 Majority Element II C++ C++ Medium
230 Kth Smallest Element in a BST C++ C++ C++ Medium
231 Power of Two C++ Easy
232 Implement Queue using Stacks C++ Easy
234 Palindrome Linked List C++ C++ Easy
235 Lowest Common Ancestor of a Binary Search Tree C++ C++ Medium
236 Lowest Common Ancestor of a Binary Tree C++ Medium
237 Delete Node in a Linked List C++ C++ Medium
238 Product of Array Except Self C++ C++ Medium
239 Sliding Window Maximum C++ Hard
240 Search a 2D Matrix II C++ Medium
242 Valid Anagram C++ Easy
257 Binary Tree Paths C++ Easy
258 Add Digits C++ C++ C++ Easy
260 Single Number III C++ C++ Medium
263 Ugly Number C++ Easy
268 Missing Number C++ C++ C++ Easy
270 Closest Binary Search Tree Value C++ C++ Easy
274 H-Index C++ C++ Medium
275 H-Index II C++ Medium
277 Find the Celebrity C++ Medium
278 First Bad Version C++ Easy
283 Move Zeroes C++ Easy
284 Peeking Iterator C++ Medium
285 Inorder Successor in BST C++ C++ Medium
286 Walls and Gates C++ C++ Medium
287 Find the Duplicate Number C++ C++ C++ C++ Medium
289 Game of Life C++ Medium
290 Word Pattern C++ C++ Easy
292 Nim Game C++ Easy
297 Serialize and Deserialize Binary Tree C++ Hard
300 Longest Increasing Subsequence C++ Medium
303 Range Sum Query - Immutable C++ Easy
304 Range Sum Query 2D - Immutable C++ Medium
307 Range Sum Query - Mutable C++ C++ Medium
309 Best Time to Buy and Sell Stock with Cooldown C++ Medium
312 Burst Balloons C++ C++ Hard
316 Remove Duplicate Letters C++ C++ C++ Medium
322 Coin Change C++ Medium
323 Number of Connected Components in an Undirected Graph C++ C++ C++ Medium
326 Power of Three C++ Easy
328 Odd Even Linked List C++ C++ Medium
329 Longest Increasing Path in a Matrix C++ Hard
331 Verify Preorder Serialization of a Binary Tree C++ Medium
334 Increasing Triplet Subsequence C++ C++ C++ Medium
338 Counting Bits C++ C++ C++ Easy
341 Flatten Nested List Iterator C++ C++ Medium
342 Power of Four C++ Easy
343 Integer Break C++ C++ Medium
344 Reverse String C++ C++ Easy
345 Reverse Vowels of a String C++ C++ Easy
347 Top K Frequent Elements C++ C++ C++ Medium
349 Intersection of Two Arrays C++ Easy
350 Intersection of Two Arrays II C++ Easy
352 Data Stream as Disjoint Intervals C++ Hard
366 Find Leaves of Binary Tree C++ Medium
367 Valid Perfect Square C++ Easy
371 Sum of Two Integers C++ Medium
373 Find K Pairs with Smallest Sums C++ Medium
374 Guess Number Higher or Lower C++ C++ Easy
376 Wiggle Subsequence C++ Medium
377 Combination Sum IV C++ Medium
378 Kth Smallest Element in a Sorted Matrix C++ Medium
380 Insert Delete GetRandom O(1) C++ C++ Medium
382 Linked List Random Node C++ C++ Medium
383 Ransom Note C++ C++ Easy
384 Shuffle an Array C++ Medium
385 Mini Parser C++ Medium
387 First Unique Character in a String C++ C++ Easy
389 Find the Difference C++ C++ C++ C++ C++ Easy
390 Elimination Game C++ Medium
392 Is Subsequence C++ C++ Easy
394 Decode String C++ Medium
396 Rotate Function C++ Medium
397 Integer Replacement C++ Medium
399 Evaluate Division C++ Medium
402 Remove K Digits C++ Medium
404 Sum of Left Leaves C++ Easy
406 Queue Reconstruction by Height C++ Medium
409 Longest Palindrome C++ Easy
410 Split Array Largest Sum C++ Hard
412 Fizz Buzz C++ Easy
413 Arithmetic Slices C++ C++ C++ Medium
414 Third Maximum Number C++ C++ Easy
415 Add Strings C++ Easy
417 Pacific Atlantic Water Flow C++ Medium
419 Battleships in a Board C++ C++ Medium
421 Maximum XOR of Two Numbers in an Array C++ Medium
424 Longest Repeating Character Replacement C++ Medium
426 Convert Binary Search Tree to Sorted Doubly Linked List C++ Medium
429 N-ary Tree Level Order Traversal C++ Medium
430 Flatten a Multilevel Doubly Linked List C++ Medium
433 Minimum Genetic Mutation C++ Medium
434 Number of Segments in a String C++ Easy
435 Non-overlapping Intervals C++ Medium
437 Path Sum III C++ C++ Medium
438 Find All Anagrams in a String C++ C++ Medium
441 Arranging Coins C++ C++ Easy
442 Find All Duplicates in an Array C++ Medium
445 Add Two Numbers II C++ Medium
448 Find All Numbers Disappeared in an Array C++ C++ Easy
449 Serialize and Deserialize BST C++ Medium
450 Delete Node in a BST C++ Medium
451 Sort Characters By Frequency C++ C++ C++ Medium
452 Minimum Number of Arrows to Burst Balloons C++ C++ Medium
453 Minimum Moves to Equal Array Elements C++ Medium
454 4Sum II C++ Medium
455 Assign Cookies C++ Easy
456 132 Pattern C++ C++ Medium
458 Poor Pigs C++ Hard
459 Repeated Substring Pattern C++ Easy
460 LFU Cache C++ Hard
461 Hamming Distance C++ Easy
462 Minimum Moves to Equal Array Elements II C++ Medium
463 Island Perimeter C++ C++ Easy
476 Number Complement C++ Easy
477 Total Hamming Distance C++ Medium
485 Max Consecutive Ones C++ Easy
491 Increasing Subsequences C++ C++ C++ Medium
492 Construct the Rectangle C++ Easy
494 Target Sum C++ C++ Medium
495 Teemo Attacking C++ Easy
496 Next Greater Element I C++ Easy
500 Keyboard Row C++ Easy
501 Find Mode in Binary Search Tree C++ Easy
502 IPO C++ Hard
503 Next Greater Element II C++ Medium
506 Relative Ranks C++ Easy
507 Perfect Number C++ Easy
508 Most Frequent Subtree Sum C++ Medium
509 Fibonacci Number C++ C++ C++ Easy
510 Inorder Successor in BST II C++ Medium
513 Find Bottom Left Tree Value C++ C++ Medium
515 Find Largest Value in Each Tree Row C++ Medium
518 Coin Change 2 C++ Medium
520 Detect Capital C++ Easy
523 Continuous Subarray Sum C++ C++ Medium
524 Longest Word in Dictionary through Deleting C++ Medium
525 Contiguous Array C++ Medium
526 Beautiful Arrangement C++ C++ Medium
530 Minimum Absolute Difference in BST C++ Easy
532 K-diff Pairs in an Array C++ C++ C++ C++ Medium
535 Encode and Decode TinyURL C++ Medium
537 Complex Number Multiplication C++ Medium
538 Convert BST to Greater Tree C++ C++ C++ C++ Medium
540 Single Element in a Sorted Array C++ C++ Medium
541 Reverse String II C++ Easy
543 Diameter of Binary Tree C++ Easy
547 Number of Provinces C++ C++ C++ C++ Medium
551 Student Attendance Record I C++ Easy
557 Reverse Words in a String III C++ C++ Easy
559 Maximum Depth of N-ary Tree C++ Easy
560 Subarray Sum Equals K C++ Medium
561 Array Partition I C++ Easy
563 Binary Tree Tilt C++ Easy
565 Array Nesting C++ Medium
566 Reshape the Matrix C++ C++ Easy
567 Permutation in String C++ C++ C++ Medium
572 Subtree of Another Tree C++ Easy
575 Distribute Candies C++ Easy
581 Shortest Unsorted Continuous Subarray C++ C++ Medium
583 Delete Operation for Two Strings C++ C++ Medium
589 N-ary Tree Preorder Traversal C++ Easy
590 N-ary Tree Postorder Traversal C++ Easy
594 Longest Harmonious Subsequence C++ Easy
598 Range Addition II C++ Easy
599 Minimum Index Sum of Two Lists C++ Easy
605 Can Place Flowers C++ Easy
606 Construct String from Binary Tree C++ C++ Easy
609 Find Duplicate File in System C++ Medium
617 Merge Two Binary Trees C++ Easy
621 Task Scheduler C++ Medium
622 Design Circular Queue C++ Medium
623 Add One Row to Tree C++ Medium
628 Maximum Product of Three Numbers C++ C++ Easy
630 Course Schedule III C++ Hard
637 Average of Levels in Binary Tree C++ C++ C++ Easy
643 Maximum Average Subarray I C++ Easy
645 Set Mismatch C++ Easy
646 Maximum Length of Pair Chain C++ C++ Medium
647 Palindromic Substrings C++ Medium
648 Replace Words C++ C++ Medium
652 Find Duplicate Subtrees C++ Medium
653 Two Sum IV - Input is a BST C++ C++ C++ Easy
654 Maximum Binary Tree C++ Medium
655 Print Binary Tree C++ Medium
657 Robot Return to Origin C++ Easy
658 Find K Closest Elements C++ C++ C++ Medium
662 Maximum Width of Binary Tree C++ Medium
665 Non-decreasing Array C++ C++ Medium
669 Trim a Binary Search Tree C++ Medium
671 Second Minimum Node In a Binary Tree C++ Easy
674 Longest Continuous Increasing Subsequence C++ Easy
676 Implement Magic Dictionary C++ Medium
677 Map Sum Pairs C++ Medium
680 Valid Palindrome II C++ Easy
682 Baseball Game C++ Easy
684 Redundant Connection C++ Medium
687 Longest Univalue Path C++ Medium
690 Employee Importance C++ C++ Easy
692 Top K Frequent Words C++ C++ C++ Medium
693 Binary Number with Alternating Bits C++ Easy
694 Number of Distinct Islands C++ Medium
695 Max Area of Island C++ Medium
696 Count Binary Substrings C++ Easy
700 Search in a Binary Search Tree C++ C++ Easy
701 Insert into a Binary Search Tree C++ C++ Medium
703 Kth Largest Element in a Stream C++ Easy
704 Binary Search C++ C++ C++ Easy
705 Design HashSet C++ C++ Easy
706 Design HashMap C++ C++ C++ Easy
707 Design Linked List C++ Medium
709 To Lower Case C++ Easy
717 bit and 2-bit Characters C++ Easy
720 Longest Word in Dictionary C++ C++ C++ C++ C++ C++ Medium
724 Find Pivot Index C++ C++ Easy
725 Split Linked List in Parts C++ Medium
728 Self Dividing Numbers C++ Easy
733 Flood Fill C++ Easy
739 Daily Temperatures C++ Medium
740 Delete and Earn C++ Medium
743 Network Delay Time C++ Medium
744 Find Smallest Letter Greater Than Target C++ Easy
746 Min Cost Climbing Stairs C++ C++ Easy
747 Largest Number At Least Twice of Others C++ Easy
748 Shortest Completing Word C++ Easy
752 Open the Lock C++ Medium
762 Prime Number of Set Bits in Binary Representation C++ C++ Easy
763 Partition Labels C++ C++ Medium
766 Toeplitz Matrix C++ C++ Easy
771 Jewels and Stones C++ Easy
781 Rabbits in Forest C++ Medium
783 Minimum Distance Between BST Nodes C++ Easy
784 Letter Case Permutation C++ C++ Medium
785 Is Graph Bipartite? C++ C++ C++ C++ Medium
789 Escape The Ghosts C++ Medium
791 Custom Sort String C++ Medium
796 Rotate String C++ Easy
797 All Paths From Source to Target C++ Medium
799 Champagne Tower C++ Medium
804 Unique Morse Code Words C++ Easy
806 Number of Lines To Write String C++ Easy
807 Max Increase to Keep City Skyline C++ Medium
814 Binary Tree Pruning C++ C++ Medium
817 Linked List Components C++ Medium
819 Most Common Word C++ Easy
821 Shortest Distance to a Character C++ Easy
824 Goat Latin C++ Easy
827 Making A Large Island C++ Hard
830 Positions of Large Groups C++ Easy
832 Flipping an Image C++ Easy
834 Sum of Distances in Tree C++ C++ Hard
836 Rectangle Overlap C++ C++ Easy
841 Keys and Rooms C++ C++ C++ Medium
844 Backspace String Compare C++ C++ C++ Easy
846 Hand of Straights C++ Medium
847 Shortest Path Visiting All Nodes C++ Hard
849 Maximize Distance to Closest Person C++ Medium
852 Peak Index in a Mountain Array C++ C++ Easy
856 Score of Parentheses C++ C++ Medium
858 Mirror Reflection C++ C++ Medium
860 Lemonade Change C++ Easy
863 All Nodes Distance K in Binary Tree C++ Medium
865 Smallest Subtree with all the Deepest Nodes C++ Medium
867 Transpose Matrix C++ Easy
869 Reordered Power of 2 C++ Medium
870 Advantage Shuffle C++ Medium
872 Leaf-Similar Trees C++ Easy
875 Koko Eating Bananas C++ Medium
876 Middle of the Linked List C++ Easy
877 Stone Game C++ C++ Medium
881 Boats to Save People C++ C++ C++ C++ Medium
884 Uncommon Words from Two Sentences C++ Easy
886 Possible Bipartition C++ C++ C++ C++ Medium
888 Fair Candy Swap C++ Easy
893 Groups of Special-Equivalent Strings C++ Medium
895 Maximum Frequency Stack C++ Hard
896 Monotonic Array C++ C++ Easy
897 Increasing Order Search Tree C++ C++ C++ Easy
901 Online Stock Span C++ Medium
904 Fruit Into Baskets C++ C++ Medium
905 Sort Array By Parity C++ C++ C++ C++ C++ Easy
908 Smallest Range I C++ Easy
912 Sort an Array C++ C++ Medium
916 Word Subsets C++ Medium
917 Reverse Only Letters C++ Easy
918 Maximum Sum Circular Subarray C++ Medium
919 Complete Binary Tree Inserter C++ Medium
921 Minimum Add to Make Parentheses Valid C++ Medium
922 Sort Array By Parity II C++ Easy
923 Sum With Multiplicity C++ Medium
925 Long Pressed Name C++ Easy
929 Unique Email Addresses C++ Easy
930 Binary Subarrays With Sum C++ Medium
931 Minimum Falling Path Sum C++ C++ C++ Medium
933 Number of Recent Calls C++ Easy
934 Shortest Bridge C++ C++ Medium
938 Range Sum of BST C++ C++ C++ C++ Easy
941 Valid Mountain Array C++ Easy
942 DI String Match C++ Easy
944 Delete Columns to Make Sorted C++ Easy
946 Validate Stack Sequences C++ C++ Medium
948 Bag of Tokens C++ Medium
951 Flip Equivalent Binary Trees C++ C++ Medium
953 Verifying an Alien Dictionary C++ C++ Easy
958 Check Completeness of a Binary Tree C++ Medium
961 N-Repeated Element in Size 2N Array C++ C++ Easy
965 Univalued Binary Tree C++ Easy
967 Numbers With Same Consecutive Differences C++ C++ Medium
968 Binary Tree Cameras C++ Hard
969 Pancake Sorting C++ Medium
971 Flip Binary Tree To Match Preorder Traversal C++ Medium
973 K Closest Points to Origin C++ Medium
974 Subarray Sums Divisible by K C++ Medium
976 Largest Perimeter Triangle C++ Easy
977 Squares of a Sorted Array C++ Easy
979 Distribute Coins in Binary Tree C++ Medium
980 Unique Paths III C++ Hard
981 Time Based Key-Value Store C++ Medium
985 Sum of Even Numbers After Queries C++ Medium
986 Interval List Intersections C++ Medium
987 Vertical Order Traversal of a Binary Tree C++ Hard
988 Smallest String Starting From Leaf C++ Medium
989 Add to Array-Form of Integer C++ Easy
990 Satisfiability of Equality Equations C++ Medium
991 Broken Calculator C++ C++ Medium
992 Subarrays with K Different Integers C++ Hard
993 Cousins in Binary Tree C++ Easy
994 Rotting Oranges C++ Medium
997 Find the Town Judge C++ C++ Easy
998 Maximum Binary Tree II C++ Medium
999 Available Captures for Rook C++ Easy
1002 Find Common Characters C++ Easy
1004 Max Consecutive Ones III C++ Medium
1005 Maximize Sum Of Array After K Negations C++ Easy
1006 Clumsy Factorial C++ Medium
1007 Minimum Domino Rotations For Equal Row C++ Medium
1008 Construct Binary Search Tree from Preorder Traversal C++ Medium
1009 Complement of Base 10 Integer C++ Easy
1010 Pairs of Songs With Total Durations Divisible by 60 C++ C++ Medium
1013 Partition Array Into Three Parts With Equal Sum C++ Easy
1018 Binary Prefix Divisible By 5 C++ Easy
1019 Next Greater Node In Linked List C++ C++ Medium
1020 Number of Enclaves C++ Medium
1021 Remove Outermost Parentheses C++ Easy
1022 Sum of Root To Leaf Binary Numbers C++ C++ Easy
1023 Camelcase Matching C++ C++ Medium
1025 Divisor Game C++ Easy
1026 Maximum Difference Between Node and Ancestor C++ Medium
1029 Two City Scheduling C++ C++ Medium
1033 Moving Stones Until Consecutive C++ Easy
1037 Valid Boomerang C++ Easy
1038 Binary Search Tree to Greater Sum Tree C++ Medium
1041 Robot Bounded In Circle C++ Medium
1046 Last Stone Weight C++ Easy
1047 Remove All Adjacent Duplicates In String C++ Easy
1048 Longest String Chain C++ Medium
1051 Height Checker C++ Easy
1061 Lexicographically Smallest Equivalent String C++ C++ Medium
1078 Occurrences After Bigram C++ Easy
1079 Letter Tile Possibilities C++ Medium
1081 Smallest Subsequence of Distinct Characters C++ C++ C++ Medium
1089 Duplicate Zeros C++ Easy
1090 Largest Values From Labels C++ Medium
1091 Shortest Path in Binary Matrix C++ Medium
1094 Car Pooling C++ C++ Medium
1100 Find K-Length Substrings With No Repeated Characters C++ Medium
1103 Distribute Candies to People C++ Easy
1104 Path In Zigzag Labelled Binary Tree C++ Medium
1108 Defanging an IP Address C++ Easy
1109 Corporate Flight Bookings C++ Medium
1110 Delete Nodes And Return Forest C++ Medium
1119 Remove Vowels from a String C++ Easy
1122 Relative Sort Array C++ Easy
1123 Lowest Common Ancestor of Deepest Leaves C++ Medium
1128 Number of Equivalent Domino Pairs C++ Easy
1129 Shortest Path with Alternating Colors C++ Medium
1137 N-th Tribonacci Number C++ C++ Easy
1143 Longest Common Subsequence C++ C++ C++ C++ Medium
1160 Find Words That Can Be Formed by Characters C++ Easy
1161 Maximum Level Sum of a Binary Tree C++ Medium
1162 As Far from Land as Possible C++ Medium
1167 Minimum Cost to Connect Sticks C++ Medium
1170 Compare Strings by Frequency of the Smallest Character C++ Medium
1171 Remove Zero Sum Consecutive Nodes from Linked List C++ Medium
1184 Distance Between Bus Stops C++ Easy
1189 Maximum Number of Balloons C++ C++ Easy
1190 Reverse Substrings Between Each Pair of Parentheses C++ C++ C++ Medium
1192 Critical Connections in a Network C++ Hard
1200 Minimum Absolute Difference C++ Easy
1201 Ugly Number III C++ Medium
1202 Smallest String With Swaps C++ Medium
1207 Unique Number of Occurrences C++ C++ Easy
1209 Remove All Adjacent Duplicates in String II C++ Medium
1217 Minimum Cost to Move Chips to The Same Position C++ Easy
1219 Path with Maximum Gold C++ Medium
1221 Split a String in Balanced Strings C++ C++ Easy
1227 Airplane Seat Assignment Probability C++ Medium
1232 Check If It Is a Straight Line C++ Easy
1233 Remove Sub-Folders from the Filesystem C++ Medium
1237 Find Positive Integer Solution for a Given Equation C++ Medium
1239 Maximum Length of a Concatenated String with Unique Characters C++ C++ Medium
1247 Minimum Swaps to Make Strings Equal C++ Medium
1248 Count Number of Nice Subarrays C++ C++ Medium
1249 Minimum Remove to Make Valid Parentheses C++ C++ C++ Medium
1254 Number of Closed Islands C++ Medium
1260 Shift 2D Grid C++ C++ Easy
1261 Find Elements in a Contaminated Binary Tree C++ Medium
1266 Minimum Time Visiting All Points C++ Easy
1267 Count Servers that Communicate C++ C++ Medium
1268 Search Suggestions System C++ C++ C++ C++ C++ C++ Medium
1281 Subtract the Product and Sum of Digits of an Integer C++ Easy
1282 Group the People Given the Group Size They Belong To C++ C++ Medium
1286 Iterator for Combination C++ Medium
1287 Element Appearing More Than 25% In Sorted Array C++ C++ C++ Easy
1288 Remove Covered Intervals C++ C++ C++ Medium
1290 Convert Binary Number in a Linked List to Integer C++ Easy
1291 Sequential Digits C++ C++ Medium
1295 Find Numbers with Even Number of Digits C++ Easy
1296 Divide Array in Sets of K Consecutive Numbers C++ Medium
1299 Replace Elements with Greatest Element on Right Side C++ C++ Easy
1302 Deepest Leaves Sum C++ C++ C++ Medium
1304 Find N Unique Integers Sum up to Zero C++ Easy
1305 All Elements in Two Binary Search Trees C++ C++ C++ C++ Medium
1309 Decrypt String from Alphabet to Integer Mapping C++ Easy
1313 Decompress Run-Length Encoded List C++ Easy
1315 Sum of Nodes with Even-Valued Grandparent C++ Medium
1317 Convert Integer to the Sum of Two No-Zero Integers C++ Easy
1319 Number of Operations to Make Network Connected C++ Medium
1323 Maximum 69 Number C++ Easy
1324 Print Words Vertically C++ Medium
1325 Delete Leaves With a Given Value C++ Medium
1328 Break a Palindrome C++ C++ Medium
1329 Sort the Matrix Diagonally C++ Medium
1331 Rank Transform of an Array C++ Easy
1332 Remove Palindromic Subsequences C++ Easy
1337 The K Weakest Rows in a Matrix C++ C++ C++ C++ C++ C++ C++ C++ Easy
1338 Reduce Array Size to The Half C++ C++ Medium
1339 Maximum Product of Splitted Binary Tree C++ C++ Medium
1342 Number of Steps to Reduce a Number to Zero C++ Easy
1343 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold C++ Medium
1345 Jump Game IV C++ Hard
1346 Check If N and Its Double Exist C++ C++ Easy
1347 Minimum Number of Steps to Make Two Strings Anagram C++ C++ C++ C++ Medium
1351 Count Negative Numbers in a Sorted Matrix C++ Easy
1352 Product of the Last K Numbers C++ Medium
1356 Sort Integers by The Number of 1 Bits C++ Easy
1357 Apply Discount Every n Orders C++ Medium
1358 Number of Substrings Containing All Three Characters C++ C++ Medium
1359 Count All Valid Pickup and Delivery Options C++ Hard
1361 Validate Binary Tree Nodes C++ Medium
1365 How Many Numbers Are Smaller Than the Current Number C++ C++ Easy
1367 Linked List in Binary Tree C++ Medium
1371 Find the Longest Substring Containing Vowels in Even Counts C++ Medium
1374 Generate a String With Characters That Have Odd Counts C++ C++ Easy
1376 Time Needed to Inform All Employees C++ C++ Medium
1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree C++ C++ Easy
1380 Lucky Numbers in a Matrix C++ C++ Easy
1381 Design a Stack With Increment Operation C++ Medium
1382 Balance a Binary Search Tree C++ Medium
1383 Maximum Performance of a Team C++ Hard
1385 Find the Distance Value Between Two Arrays C++ Easy
1387 Sort Integers by The Power Value C++ C++ Medium
1389 Create Target Array in the Given Order C++ Easy
1394 Find Lucky Integer in an Array C++ Easy
1395 Count Number of Teams C++ Medium
1396 Design Underground System C++ C++ Medium
1399 Count Largest Group C++ C++ Easy
1403 Minimum Subsequence in Non-Increasing Order C++ Easy
1408 String Matching in an Array C++ Easy
1409 Queries on a Permutation With Key C++ Medium
1413 Minimum Value to Get Positive Step by Step Sum C++ Easy
1414 Find the Minimum Number of Fibonacci Numbers Whose Sum Is K C++ Medium
1415 The k-th Lexicographical String of All Happy Strings of Length n C++ Medium
1417 Reformat The String C++ Easy
1418 Display Table of Food Orders in a Restaurant C++ Medium
1422 Maximum Score After Splitting a String C++ Easy
1423 Maximum Points You Can Obtain from Cards C++ Medium
1426 Counting Elements C++ C++ Easy
1431 Kids With the Greatest Number of Candies C++ Easy
1436 Destination City C++ C++ Easy
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 C++ Medium
1441 Build an Array With Stack Operations C++ Easy
1443 Minimum Time to Collect All Apples in a Tree C++ C++ Medium
1446 Consecutive Characters C++ Easy
1447 Simplified Fractions C++ Medium
1448 Count Good Nodes in Binary Tree C++ C++ Medium
1450 Number of Students Doing Homework at a Given Time C++ Easy
1451 Rearrange Words in a Sentence C++ C++ C++ C++ Medium
1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence C++ Easy
1456 Maximum Number of Vowels in a Substring of Given Length C++ C++ Medium
1457 Pseudo-Palindromic Paths in a Binary Tree C++ C++ Medium
1460 Make Two Arrays Equal by Reversing Sub-arrays C++ C++ Easy
1461 Check If a String Contains All Binary Codes of Size K C++ C++ Medium
1463 Cherry Pickup II C++ C++ C++ Hard
1464 Maximum Product of Two Elements in an Array C++ Easy
1465 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts C++ C++ Medium
1466 Reorder Routes to Make All Paths Lead to the City Zero C++ Medium
1469 Find All The Lonely Nodes C++ Easy
1470 Shuffle the Array C++ Easy
1471 The k Strongest Values in an Array C++ C++ Medium
1472 Design Browser History C++ Medium
1475 Final Prices With a Special Discount in a Shop C++ Easy
1476 Subrectangle Queries C++ Medium
1480 Running Sum of 1d Array C++ Easy
1486 XOR Operation in an Array C++ Easy
1487 Making File Names Unique C++ Medium
1491 Average Salary Excluding the Minimum and Maximum Salary C++ Easy
1492 The kth Factor of n C++ Medium
1493 Longest Subarray of 1's After Deleting One Element C++ C++ Medium
1496 Path Crossing C++ C++ Easy
1502 Can Make Arithmetic Progression From Sequence C++ Easy
1507 Reformat Date C++ C++ Easy
1508 Range Sum of Sorted Subarray Sums C++ Medium
1509 Minimum Difference Between Largest and Smallest Value in Three Moves C++ Medium
1510 Stone Game IV C++ C++ Hard
1512 Number of Good Pairs C++ Easy
1518 Water Bottles C++ Easy
1519 Number of Nodes in the Sub-Tree With the Same Label C++ Medium
1523 Count Odd Numbers in an Interval Range C++ Easy
1524 Number of Sub-arrays With Odd Sum C++ Medium
1528 Shuffle String C++ Easy
1530 Number of Good Leaf Nodes Pairs C++ Medium
1534 Count Good Triplets C++ Easy
1535 Find the Winner of an Array Game C++ Medium
1539 Kth Missing Positive Number C++ Easy
1544 Make The String Great C++ Easy
1545 Find Kth Bit in Nth Binary String C++ C++ Medium
1546 Maximum Number of Non-Overlapping Subarrays With Sum Equals Target C++ Medium
1550 Three Consecutive Odds C++ Easy
1551 Minimum Operations to Make Array Equal C++ Medium
1552 Magnetic Force Between Two Balls C++ Medium
1556 Thousand Separator C++ Easy
1557 Minimum Number of Vertices to Reach All Nodes C++ C++ C++ Medium
1558 Minimum Numbers of Function Calls to Make Target Array C++ Medium
1561 Maximum Number of Coins You Can Get C++ Medium
1566 Detect Pattern of Length M Repeated K or More Times C++ Easy
1567 Maximum Length of Subarray With Positive Product C++ Medium
1572 Matrix Diagonal Sum C++ C++ Easy
1578 Minimum Deletion Cost to Avoid Repeating Letters C++ C++ C++ Medium
1582 Special Positions in a Binary Matrix C++ Easy
1584 Min Cost to Connect All Points C++ C++ Medium
1588 Sum of All Odd Length Subarrays C++ Easy
1590 Make Sum Divisible by P C++ Medium
1598 Crawler Log Folder C++ C++ Easy
1602 Find Nearest Right Node in Binary Tree C++ C++ Medium
1603 Design Parking System C++ Easy
1605 Find Valid Matrix Given Row and Column Sums C++ Medium
1608 Special Array With X Elements Greater Than or Equal X C++ Easy
1609 Even Odd Tree C++ Medium
1614 Maximum Nesting Depth of the Parentheses C++ Easy
1616 Split Two Strings to Make Palindrome C++ Medium
1619 Mean of Array After Removing Some Elements C++ Easy
1624 Largest Substring Between Two Equal Characters C++ Easy
1626 Best Team With No Conflicts C++ Medium
1629 Slowest Key C++ Easy
1631 Path With Minimum Effort C++ Medium
1636 Sort Array by Increasing Frequency C++ Easy
1637 Widest Vertical Area Between Two Points Containing No Points C++ Medium
1640 Check Array Formation Through Concatenation C++ Easy
1641 Count Sorted Vowel Strings C++ C++ C++ C++ Medium
1642 Furthest Building You Can Reach C++ Medium
1646 Get Maximum in Generated Array C++ Easy
1647 Minimum Deletions to Make Character Frequencies Unique C++ Medium
1652 Defuse the Bomb C++ Easy
1653 Minimum Deletions to Make String Balanced C++ Medium
1656 Design an Ordered Stream C++ Easy
1657 Determine if Two Strings Are Close C++ C++ Medium
1658 Minimum Operations to Reduce X to Zero C++ Medium
1662 Check If Two String Arrays are Equivalent C++ Easy
1663 Smallest String With A Given Numeric Value C++ C++ C++ C++ Medium
1668 Maximum Repeating Substring C++ Easy
1669 Merge In Between Linked Lists C++ Medium
1672 Richest Customer Wealth C++ Easy
1675 Minimize Deviation in Array C++ C++ Hard
1678 Goal Parser Interpretation C++ Easy
1679 Max Number of K-Sum Pairs C++ C++ C++ C++ Medium
1684 Count the Number of Consistent Strings C++ C++ Easy
1685 Sum of Absolute Differences in a Sorted Array C++ Medium
1688 Count of Matches in Tournament C++ C++ Easy
1689 Partitioning Into Minimum Number Of Deci-Binary Numbers C++ Medium
1695 Maximum Erasure Value C++ C++ C++ Medium
1696 Jump Game VI C++ Medium
1700 Number of Students Unable to Eat Lunch C++ Easy
1701 Average Waiting Time C++ Medium
1704 Determine if String Halves Are Alike C++ Easy
1710 Maximum Units on a Truck C++ Easy
1716 Calculate Money in Leetcode Bank C++ Easy
1720 Decode XORed Array C++ Easy
1721 Swapping Nodes in a Linked List C++ C++ C++ Medium
1725 Number Of Rectangles That Can Form The Largest Square C++ C++ Easy
1726 Tuple with Same Product C++ Medium
1732 Find the Highest Altitude C++ Easy
1736 Latest Time by Replacing Hidden Digits C++ Easy
1743 Restore the Array From Adjacent Pairs C++ C++ Medium
1748 Sum of Unique Elements C++ Easy
1749 Maximum Absolute Sum of Any Subarray C++ Medium
1752 Check if Array Is Sorted and Rotated C++ Easy
1753 Maximum Score From Removing Stones C++ Medium
1758 Minimum Changes To Make Alternating Binary String C++ Easy
1765 Map of Highest Peak C++ C++ Medium
1768 Merge Strings Alternately C++ C++ Easy
1769 Minimum Number of Operations to Move All Balls to Each Box C++ Medium
1770 Maximum Score from Performing Multiplication Operations C++ Medium
1773 Count Items Matching a Rule C++ C++ Easy
1779 Find Nearest Point That Has the Same X or Y Coordinate C++ Easy
1780 Check if Number is a Sum of Powers of Three C++ Medium
1784 Check if Binary String Has at Most One Segment of Ones C++ Easy
1785 Minimum Elements to Add to Form a Given Sum C++ Medium
1790 Check if One String Swap Can Make Strings Equal C++ Easy
1791 Find Center of Star Graph C++ C++ Medium
1792 Maximum Average Pass Ratio C++ Medium
1796 Second Largest Digit in a String C++ Easy
1798 Maximum Number of Consecutive Values You Can Make C++ Medium
1800 Maximum Ascending Subarray Sum C++ C++ Easy
1805 Number of Different Integers in a String C++ Easy
1807 Evaluate the Bracket Pairs of a String C++ Medium
1812 Determine Color of a Chessboard Square C++ Easy
1814 Count Nice Pairs in an Array C++ C++ Medium
1816 Truncate Sentence C++ Easy
1817 Finding the Users Active Minutes C++ Medium
1818 Minimum Absolute Sum Difference C++ Medium
1822 Sign of the Product of an Array C++ Easy
1827 Minimum Operations to Make the Array Increasing C++ Easy
1828 Queries on Number of Points Inside a Circle C++ Medium
1832 Check if the Sentence Is Pangram C++ C++ Easy
1833 Maximum Ice Cream Bars C++ C++ Medium
1834 Single-Threaded CPU C++ C++ C++ Medium
1837 Sum of Digits in Base K C++ Easy
1844 Replace All Digits with Characters C++ Easy
1845 Seat Reservation Manager C++ Medium
1848 Minimum Distance to the Target Element C++ C++ Easy
1859 Sorting the Sentence C++ Easy
1861 Rotating the Box C++ Medium
1863 Sum of All Subset XOR Totals C++ Easy
1869 Longer Contiguous Segments of Ones than Zeros C++ C++ Easy
1876 Substrings of Size Three with Distinct Characters C++ Easy
1877 Minimize Maximum Pair Sum in Array C++ Medium
1880 Check if Word Equals Summation of Two Words C++ Easy
1897 Redistribute Characters to Make All Strings Equal C++ Easy
1903 Largest Odd Number in String C++ Easy
1905 Count Sub Islands C++ Medium
1909 Remove One Element to Make the Array Strictly Increasing C++ Easy
1910 Remove All Occurrences of a Substring C++ C++ Medium
1913 Maximum Product Difference Between Two Pairs C++ C++ Easy
1920 Build Array from Permutation C++ Easy
1929 Concatenation of Array C++ C++ Easy
1935 Maximum Number of Words You Can Type C++ C++ Easy
1941 Check if All Characters Have Equal Number of Occurrences C++ C++ Easy
1945 Sum of Digits of String After Convert C++ Easy
1952 Three Divisors C++ C++ Easy
1957 Delete Characters to Make Fancy String C++ Easy
1961 Check If String Is a Prefix of Array C++ C++ Easy
1962 Remove Stones to Minimize the Total C++ Medium
1967 Number of Strings That Appear as Substrings in Word C++ C++ C++ Easy
1971 Find if Path Exists in Graph C++ C++ C++ Easy
1974 Minimum Time to Type Word Using Special Typewriter C++ C++ Easy
1979 Find Greatest Common Divisor of Array C++ Easy
1991 Find the Middle Index in Array C++ C++ Easy
1992 Find All Groups of Farmland C++ Medium
1996 The Number of Weak Characters in the Game C++ Medium
2000 Reverse Prefix of Word C++ C++ Easy
2006 Count Number of Pairs With Absolute Difference K C++ C++ C++ Easy
2007 Find Original Array From Doubled Array C++ C++ C++ Medium
2011 Final Value of Variable After Performing Operations C++ C++ Easy
2016 Maximum Difference Between Increasing Elements C++ Easy
2022 Convert 1D Array Into 2D Array C++ Easy
2032 Two Out of Three C++ C++ C++ C++ Easy
2037 Minimum Number of Moves to Seat Everyone C++ Easy
2042 Check if Numbers Are Ascending in a Sentence C++ Easy
2044 Count Number of Maximum Bitwise-OR Subsets C++ C++ C++ Medium
2057 Smallest Index With Equal Value C++ Easy
2073 Time Needed to Buy Tickets C++ C++ C++ Easy
2079 Watering Plants C++ Medium
2095 Delete the Middle Node of a Linked List C++ C++ Medium
2105 Watering Plants II C++ Medium
2120 Execution of All Suffix Instructions Staying in a Grid C++ Medium
2125 Number of Laser Beams in a Bank C++ Medium
2215 Find the Difference of Two Arrays C++ Easy
2225 Find Players With Zero or One Losses C++ C++ Medium
2231 Largest Number After Digit Swaps by Parity C++ C++ C++ Easy
2244 Minimum Rounds to Complete All Tasks C++ C++ Medium
2246 Longest Path With Different Adjacent Characters C++ C++ Hard
2256 Minimum Average Difference C++ Medium
2279 Maximum Bags With Full Capacity of Rocks C++ Medium
2389 Longest Subsequence With Limited Sum C++ Easy
2413 Smallest Even Multiple C++ Easy
2414 Length of the Longest Alphabetical Continuous Substring C++ Medium
2415 Reverse Odd Levels of Binary Tree C++ C++ Medium
2416 Sum of Prefix Scores of Strings C++ Hard
2423 Remove Letter To Equalize Frequency C++ Easy
2424 Longest Uploaded Prefix C++ C++ Medium
2427 Number of Common Factors C++ Easy
2428 Maximum Sum of an Hourglass C++ Medium
2432 The Employee That Worked on the Longest Task C++ C++ Easy
2433 Find The Original Array of Prefix Xor C++ Medium
2437 Number of Valid Clock Times C++ Easy
2441 Largest Positive Integer That Exists With Its Negative C++ Easy
2442 Count Number of Distinct Integers After Reverse Operations C++ Medium
2443 Sum of Number and Its Reverse C++ Medium
2446 Determine if Two Events Have Conflict C++ Easy
2447 Number of Subarrays With GCD Equal to K C++ Medium
2448 Minimum Cost to Make Array Equal C++ C++ Hard
2451 Odd String Difference C++ Easy
2452 Words Within Two Edits of Dictionary C++ C++ Medium
2453 Destroy Sequential Targets C++ Medium
2455 Average Value of Even Numbers That Are Divisible by Three C++ Easy
2456 Most Popular Video Creator C++ C++ Medium
2458 Height of Binary Tree After Subtree Removal Queries C++ Hard
2460 Apply Operations to an Array C++ Easy
2461 Maximum Sum of Distinct Subarrays With Length K C++ Medium
2462 Total Cost to Hire K Workers C++ Medium
2465 Number of Distinct Averages C++ Easy
2469 Convert the Temperature C++ Easy
2470 Number of Subarrays With LCM Equal to K C++ Medium
2475 Number of Unequal Triplets in Array C++ Easy
2476 Closest Nodes Queries in a Binary Search Tree C++ Medium
2481 Minimum Cuts to Divide a Circle C++ Easy
2482 Difference Between Ones and Zeros in Row and Column C++ C++ Medium
2483 Minimum Penalty for a Shop C++ C++ Medium
2485 Find the Pivot Integer C++ Easy
2486 Append Characters to String to Make Subsequence C++ Medium
2487 Remove Nodes From Linked List C++ C++ Medium
2490 Circular Sentence C++ Easy
2491 Divide Players Into Teams of Equal Skill C++ Medium
2492 Minimum Score of a Path Between Two Cities C++ C++ Medium
2496 Maximum Value of a String in an Array C++ Easy
2497 Maximum Star Sum of a Graph C++ Medium
2500 Delete Greatest Value in Each Row C++ Easy
2501 Longest Square Streak in an Array C++ Medium
2502 Design Memory Allocator C++ Medium
2506 Count Pairs Of Similar Strings C++ Easy
2508 Add Edges to Make Degrees of All Nodes Even C++ Hard
2509 Cycle Length Queries in a Tree C++ C++ Hard
2511 Maximum Enemy Forts That Can Be Captured C++ Easy
2512 Reward Top K Students C++ Medium
2515 Shortest Distance to Target String in a Circular Array C++ Easy
2520 Count the Digits That Divide a Number C++ Easy
2521 Distinct Prime Factors of Product of Array C++ Medium
2522 Partition String Into Substrings With Values at Most K C++ C++ Medium
2525 Categorize Box According to Criteria C++ Easy
2526 Find Consecutive Integers from a Data Stream C++ Medium
2527 Find Xor-Beauty of Array C++ Medium
2529 Maximum Count of Positive Integer and Negative Integer C++ Easy
2530 Maximal Score After Applying K Operations C++ Medium
2531 Make Number of Distinct Characters Equal C++ Medium
2535 Difference Between Element Sum and Digit Sum of an Array C++ Easy

Contribution 🤝

If you're interested in contributing to this repository, please follow these guidelines:

  1. Fork the repository
  2. Make your changes
  3. Submit a Pull Request