Skip to content

threeal/leetspace

Repository files navigation

LeetSpace

LeetSpace serves as a dedicated workspace and archive for my LeetCode submissions.

Problems

Problem Difficulty Solution
1. Two Sum Easy C C++
2. Add Two Numbers Medium C++
3. Longest Substring Without Repeating Characters Medium C++
4. Median of Two Sorted Arrays Hard C++
5. Longest Palindromic Substring Medium C C++
6. Zigzag Conversion Medium C C++
7. Reverse Integer Medium C C++
8. String to Integer (atoi) Medium C++
9. Palindrome Number Easy C++
10. Regular Expression Matching Hard C C++
11. Container With Most Water Medium C++
12. Integer to Roman Medium C C++
13. Roman to Integer Easy C C++
15. 3Sum Medium C++
16. 3Sum Closest Medium C C++
17. Letter Combinations of a Phone Number Medium C++
18. 4Sum Medium C C++
19. Remove Nth Node From End of List Medium C++
22. Generate Parentheses Medium C C++
23. Merge k Sorted Lists Hard C++
24. Swap Nodes in Pairs Medium C++
25. Reverse Nodes in k-Group Hard C++
26. Remove Duplicates from Sorted Array Easy C++
27. Remove Element Easy C++
28. Find the Index of the First Occurrence in a String Easy C++
31. Next Permutation Medium C++
34. Find First and Last Position of Element in Sorted Array Medium C++
35. Search Insert Position Easy C++
36. Valid Sudoku Medium C C++
39. Combination Sum Medium C++
40. Combination Sum II Medium C C++
41. First Missing Positive Hard C C++
46. Permutations Medium C C++
49. Group Anagrams Medium C++
53. Maximum Subarray Medium C C++
55. Jump Game Medium C++
57. Insert Interval Medium C C++
58. Length of Last Word Easy C C++
59. Spiral Matrix II Medium C C++
66. Plus One Easy C++
67. Add Binary Easy C C++
70. Climbing Stairs Easy C C++
75. Sort Colors Medium C++
78. Subsets Medium C++
79. Word Search Medium C C++
88. Merge Sorted Array Easy C++
91. Decode Ways Medium C C++
94. Binary Tree Inorder Traversal Easy C++
100. Same Tree Easy C++
119. Pascal's Triangle II Easy C++
120. Triangle Medium C C++
121. Best Time to Buy and Sell Stock Easy C C++
125. Valid Palindrome Easy C C++
129. Sum Root to Leaf Numbers Medium C++
131. Palindrome Partitioning Medium C++
136. Single Number Easy C C++
137. Single Number II Medium C C++
140. Word Break II Hard C++
141. Linked List Cycle Easy C++
143. Reorder List Medium C++
145. Binary Tree Postorder Traversal Easy C++
149. Max Points on a Line Hard C++
150. Evaluate Reverse Polish Notation Medium C C++
151. Reverse Words in a String Medium C C++
152. Maximum Product Subarray Medium C C++
165. Compare Version Numbers Medium C C++
169. Majority Element Easy C C++
179. Largest Number Medium C C++
191. Number of 1 Bits Easy C C++
198. House Robber Medium C C++
200. Number of Islands Medium C C++
201. Bitwise AND of Numbers Range Medium C C++
202. Happy Number Easy C++
204. Count Primes Medium C C++
205. Isomorphic Strings Easy C C++
206. Reverse Linked List Easy C++
214. Shortest Palindrome Hard C++
224. Basic Calculator Hard C C++
228. Summary Ranges Easy C C++
229. Majority Element II Medium C++
231. Power of Two Easy C C++
232. Implement Queue using Stacks Easy C++
234. Palindrome Linked List Easy C++
237. Delete Node in a Linked List Medium C++
238. Product of Array Except Self Medium C C++
241. Different Ways to Add Parentheses Medium C++
242. Valid Anagram Easy C C++
258. Add Digits Easy C C++
260. Single Number III Medium C C++
263. Ugly Number Easy C C++
264. Ugly Number II Medium C C++
268. Missing Number Easy C C++
273. Integer to English Words Hard C C++
275. H-Index II Medium C C++
278. First Bad Version Easy C++
279. Perfect Squares Medium C C++
287. Find the Duplicate Number Medium C C++
299. Bulls and Cows Medium C C++
300. Longest Increasing Subsequence Medium C C++
303. Range Sum Query - Immutable Easy C++
310. Minimum Height Trees Medium C C++
316. Remove Duplicate Letters Medium C++
330. Patching Array Hard C C++
342. Power of Four Easy C C++
343. Integer Break Medium C++
344. Reverse String Easy C++
345. Reverse Vowels of a String Easy C C++
349. Intersection of Two Arrays Easy C C++
350. Intersection of Two Arrays II Easy C C++
355. Design Twitter Medium C++
368. Largest Divisible Subset Medium C++
380. Insert Delete GetRandom O(1) Medium C++
386. Lexicographical Numbers Medium C C++
387. First Unique Character in a String Easy C C++
389. Find the Difference Easy C++
392. Is Subsequence Easy C++
404. Sum of Left Leaves Easy C++
409. Longest Palindrome Easy C C++
412. Fizz Buzz Easy C C++
413. Arithmetic Slices Medium C C++
432. All O`one Data Structure Hard C++
440. K-th Smallest in Lexicographical Order Hard C C++
441. Arranging Coins Easy C C++
442. Find All Duplicates in an Array Medium C C++
446. Arithmetic Slices II - Subsequence Hard C++
451. Sort Characters By Frequency Medium C++
452. Minimum Number of Arrows to Burst Balloons Medium C C++
454. 4Sum II Medium C++
455. Assign Cookies Easy C C++
456. 132 Pattern Medium C C++
458. Poor Pigs Hard C C++
463. Island Perimeter Easy C C++
476. Number Complement Easy C C++
485. Max Consecutive Ones Easy C++
502. IPO Hard C C++
506. Relative Ranks Easy C C++
513. Find Bottom Left Tree Value Medium C++
514. Freedom Trail Hard C C++
523. Continuous Subarray Sum Medium C C++
525. Contiguous Array Medium C++
539. Minimum Time Difference Medium C C++
541. Reverse String II Easy C C++
543. Diameter of Binary Tree Easy C++
546. Remove Boxes Hard C C++
547. Number of Provinces Medium C C++
557. Reverse Words in a String III Easy C C++
566. Reshape the Matrix Easy C C++
567. Permutation in String Medium C C++
576. Out of Boundary Paths Medium C++
587. Erect the Fence Hard C++
590. N-ary Tree Postorder Traversal Easy C++
592. Fraction Addition and Subtraction Medium C C++
606. Construct String from Binary Tree Easy C++
611. Valid Triangle Number Medium C C++
621. Task Scheduler Medium C C++
623. Add One Row to Tree Medium C++
624. Maximum Distance in Arrays Medium C C++
628. Maximum Product of Three Numbers Easy C C++
632. Smallest Range Covering Elements from K Lists Hard C++
633. Sum of Square Numbers Medium C C++
640. Solve the Equation Medium C C++
641. Design Circular Deque Medium C++
645. Set Mismatch Easy C C++
647. Palindromic Substrings Medium C C++
648. Replace Words Medium C++
650. 2 Keys Keyboard Medium C C++
657. Robot Return to Origin Easy C C++
661. Image Smoother Easy C++
664. Strange Printer Hard C C++
670. Maximum Swap Medium C C++
678. Valid Parenthesis String Medium C C++
680. Valid Palindrome II Easy C C++
703. Kth Largest Element in a Stream Easy C++
713. Subarray Product Less Than K Medium C C++
719. Find K-th Smallest Pair Distance Hard C C++
725. Split Linked List in Parts Medium C++
726. Number of Atoms Hard C++
729. My Calendar I Medium C++
731. My Calendar II Medium C++
739. Daily Temperatures Medium C C++
746. Min Cost Climbing Stairs Easy C++
752. Open the Lock Medium C C++
779. K-th Symbol in Grammar Medium C C++
786. K-th Smallest Prime Fraction Medium C C++
791. Custom Sort String Medium C C++
796. Rotate String Easy C C++
812. Largest Triangle Area Easy C C++
815. Bus Routes Hard C++
823. Binary Trees With Factors Medium C++
826. Most Profit Assigning Work Medium C C++
834. Sum of Distances in Tree Hard C C++
840. Magic Squares In Grid Medium C C++
844. Backspace String Compare Easy C++
846. Hand of Straights medium C C++
857. Minimum Cost to Hire K Workers Hard C++
860. Lemonade Change Easy C C++
861. Score After Flipping Matrix Medium C C++
867. Transpose Matrix Easy C C++
872. Leaf-Similar Trees Easy C++
874. Walking Robot Simulation Medium C++
875. Koko Eating Bananas Medium C C++
876. Middle of the Linked List Easy C++
877. Stone Game Medium C C++
880. Decoded String at Index Medium C++
881. Boats to Save People Medium C C++
884. Uncommon Words from Two Sentences Easy C++
885. Spiral Matrix III Medium C C++
888. Fair Candy Swap Easy C C++
905. Sort Array By Parity Easy C++
908. Smallest Range I Easy C C++
909. Snakes and Ladders Medium C C++
912. Sort an Array Medium C C++
921. Minimum Add to Make Parentheses Valid Medium C C++
925. Long Pressed Name Easy C C++
929. Unique Email Addresses Easy C C++
930. Binary Subarrays With Sum Medium C++
931. Minimum Falling Path Sum Medium C++
933. Number of Recent Calls Easy C++
934. Shortest Bridge Medium C C++
935. Knight Dialer Easy C C++
938. Range Sum of BST Easy C++
945. Minimum Increment to Make Array Unique Medium C C++
947. Most Stones Removed with Same Row or Column Medium C++
948. Bag of Tokens Medium C C++
951. Flip Equivalent Binary Trees Medium C++
959. Regions Cut By Slashes Medium C C++
962. Maximum Width Ramp Medium C C++
974. Subarray Sums Divisible by K Medium C C++
976. Largest Perimeter Triangle Easy C C++
977. Squares of a Sorted Array Easy C C++
979. Distribute Coins in Binary Tree Medium C++
988. Smallest String Starting From Leaf Medium C++
991. Broken Calculator Medium C C++
992. Subarrays with K Different Integers Hard C++
995. Minimum Number of K Consecutive Bit Flips Hard C C++
997. Find the Town Judge Easy C C++
1002. Find Common Characters Easy C C++
1009. Complement of Base 10 Integer Easy C C++
1025. Divisor Game Easy C C++
1026. Maximum Difference Between Node and Ancestor Medium C++
1038. Binary Search Tree to Greater Sum Tree Medium C++
1043. Partition Array for Maximum Sum Medium C C++
1046. Last Stone Weight Easy C C++
1047. Remove All Adjacent Duplicates In String Medium C C++
1048. Longest String Chain Medium C++
1051. Height Checker Easy C C++
1052. Grumpy Bookstore Owner Medium C C++
1071. Greatest Common Divisor of Strings Easy C C++
1081. Smallest Subsequence of Distinct Characters Medium C++
1090. Largest Values From Labels Medium C C++
1105. Filling Bookcase Shelves Medium C C++
1106. Parsing A Boolean Expression Hard C C++
1109. Corporate Flight Bookings Medium C C++
1110. Delete Nodes And Return Forest Medium C++
1122. Relative Sort Array Easy C C++
1137. N-th Tribonacci Number Easy C C++
1140. Stone Game II Medium C C++
1143. Longest Common Subsequence Medium C C++
1155. Number of Dice Rolls With Target Sum Medium C C++
1160. Find Words That Can Be Formed by Characters Easy C C++
1170. Compare Strings by Frequency of the Smallest Character Medium C++
1175. Prime Arrangements Easy C C++
1184. Distance Between Bus Stops Easy C C++
1190. Reverse Substrings Between Each Pair of Parentheses Medium C C++
1195. Fizz Buzz Multithreaded Medium C++
1207. Unique Number of Occurrences Easy C++
1208. Get Equal Substrings Within Budget Medium C C++
1209. Remove All Adjacent Duplicates in String II Medium C C++
1219. Path with Maximum Gold Medium C C++
1220. Count Vowels Permutation Hard C C++
1232. Check If It Is a Straight Line Easy C++
1233. Remove Sub-Folders from the Filesystem Medium C C++
1235. Maximum Profit in Job Scheduling Hard C++
1239. Maximum Length of a Concatenated String with Unique Characters Medium C C++
1247. Minimum Swaps to Make Strings Equal Medium C C++
1248. Count Number of Nice Subarrays Medium C C++
1253. Reconstruct a 2-Row Binary Matrix Medium C C++
1255. Maximum Score Words Formed by Letters Hard C C++
1266. Minimum Time Visiting All Points Easy C C++
1269. Number of Ways to Stay in the Same Place After Some Steps Hard C++
1275. Find Winner on a Tic Tac Toe Game Easy C C++
1277. Count Square Submatrices with All Ones Medium C C++
1287. Element Appearing More Than 25% In Sorted Array Easy C C++
1289. Minimum Falling Path Sum II Hard C C++
1291. Sequential Digits Medium C C++
1299. Replace Elements with Greatest Element on Right Side Easy C C++
1309. Decrypt String from Alphabet to Integer Mapping Easy C C++
1310. XOR Queries of a Subarray Medium C++
1325. Delete Leaves With a Given Value Medium C++
1329. Sort the Matrix Diagonally Medium C C++
1331. Rank Transform of an Array Easy C C++
1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance Medium C C++
1337. The K Weakest Rows in a Matrix Easy C++
1346. Check If N and Its Double Exist Easy C++
1347. Minimum Number of Steps to Make Two Strings Anagram Medium C C++
1348. Tweet Counts Per Frequency Medium C++
1353. Maximum Number of Events That Can Be Attended Medium C++
1356. Sort Integers by The Number of 1 Bits Easy C++
1357. Apply Discount Every n Orders Medium C++
1361. Validate Binary Tree Nodes Medium C C++
1366. Rank Teams by Votes Medium C C++
1367. Linked List in Binary Tree Medium C++
1371. Find the Longest Substring Containing Vowels in Even Counts Medium C C++
1380. Lucky Numbers in a Matrix Easy C C++
1381. Design a Stack With Increment Operation Medium C++
1382. Balance a Binary Search Tree Medium C++
1395. Count Number of Teams Medium C C++
1404. Number of Steps to Reduce a Number in Binary Representation to One Medium C C++
1405. Longest Happy String Medium C C++
1419. Minimum Number of Frogs Croaking Medium C C++
1422. Maximum Score After Splitting a String Easy C C++
1424. Diagonal Traverse II Medium C++
1425. Constrained Subsequence Sum Hard C++
1436. Destination City Easy C++
1437. Check If All 1's Are at Least Length K Places Away Easy C C++
1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Medium C C++
1441. Build an Array With Stack Operations Medium C++
1442. Count Triplets That Can Form Two Arrays of Equal XOR Medium C C++
1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence Easy C C++
1457. Pseudo-Palindromic Paths in a Binary Tree Medium C++
1458. Max Dot Product of Two Subsequences Hard C++
1460. Make Two Arrays Equal by Reversing Subarrays Easy C C++
1464. Maximum Product of Two Elements in an Array Easy C C++
1481. Least Number of Unique Integers after K Removals Medium C++
1482. Minimum Number of Days to Make m Bouquets Medium C C++
1496. Path Crossing Easy C++
1497. Check If Array Pairs Are Divisible by k Medium C C++
1503. Last Moment Before All Ants Fall Out of a Plank Medium C C++
1507. Reformat Date Easy C C++
1508. Range Sum of Sorted Subarray Sums Medium C C++
1509. Minimum Difference Between Largest and Smallest Value in Three Moves Medium C C++
1512. Number of Good Pairs Easy C C++
1514. Path with Maximum Probability Medium C C++
1518. Water Bottles Easy C C++
1530. Number of Good Leaf Nodes Pairs Medium C++
1534. Count Good Triplets Easy C C++
1535. Find the Winner of an Array Game Medium C C++
1544. Make The String Great Easy C C++
1545. Find Kth Bit in Nth Binary String Medium C C++
1550. Three Consecutive Odds Easy C C++
1552. Magnetic Force Between Two Balls Medium C C++
1561. Maximum Number of Coins You Can Get Medium C C++
1563. Stone Game V Hard C C++
1566. Detect Pattern of Length M Repeated K or More Times Easy C C++
1574. Shortest Subarray to be Removed to Make Array Sorted Medium C C++
1578. Minimum Time to Make Rope Colorful Medium C++
1579. Remove Max Number of Edges to Keep Graph Fully Traversable Hard C C++
1582. Special Positions in a Binary Matrix Easy C C++
1590. Make Sum Divisible by P Medium C++
1593. Split a String Into the Max Number of Unique Substrings Medium C++
1598. Crawler Log Folder Easy C C++
1600. Throne Inheritance Medium C++
1605. Find Valid Matrix Given Row and Column Sums Medium C C++
1608. Special Array With X Elements Greater Than or Equal X Easy C C++
1609. Even Odd Tree Medium C++
1611. Minimum One Bit Operations to Make Integers Zero Hard C C++
1614. Maximum Nesting Depth of the Parentheses Easy C++ C
1624. Largest Substring Between Two Equal Characters Easy C C++
1630. Arithmetic Subarrays Medium C C++
1636. Sort Array by Increasing Frequency Easy C C++
1637. Widest Vertical Area Between Two Points Containing No Points Medium C C++
1642. Furthest Building You Can Reach Medium C++
1652. Defuse the Bomb Medium C C++
1653. Minimum Deletions to Make String Balanced Medium C C++
1657. Determine if Two Strings Are Close Medium C C++
1658. Minimum Operations to Reduce X to Zero Medium C++
1662. Check If Two String Arrays are Equivalent Easy C C++
1668. Maximum Repeating Substring Easy C C++
1669. Merge In Between Linked Lists Medium C++
1671. Minimum Number of Removals to Make Mountain Array Hard C++
1684. Count the Number of Consistent Strings Easy C++
1685. Sum of Absolute Differences in a Sorted Array Medium C C++
1686. Stone Game VI Medium C C++
1688. Count of Matches in Tournament Easy C C++
1690. Stone Game VII Medium C C++
1700. Number of Students Unable to Eat Lunch Easy C C++
1701. Average Waiting Time Medium C C++
1704. Determine if String Halves Are Alike Easy C C++
1716. Calculate Money in Leetcode Bank Easy C C++
1717. Maximum Score From Removing Substrings Medium C C++
1723. Find Minimum Time to Finish All Jobs Hard C++
1727. Largest Submatrix With Rearrangements Medium C C++
1743. Restore the Array From Adjacent Pairs Medium C++
1749. Maximum Absolute Sum of Any Subarray Medium C C++
1750. Minimum Length of String After Deleting Similar Ends Medium C C++
1758. Minimum Changes To Make Alternating Binary String Easy C C++
1759. Count Number of Homogenous Substrings Medium C C++
1760. Minimum Limit of Balls in a Bag Medium C C++
1770. Maximum Score from Performing Multiplication Operations Hard C++
1791. Find Center of Star Graph Easy C C++
1793. Maximum Score of a Good Subarray Hard C C++
1813. Sentence Similarity III Medium C C++
1814. Count Nice Pairs in an Array Medium C++
1823. Find the Winner of the Circular Game Medium C C++
1829. Maximum XOR for Each Query Medium C C++
1838. Frequency of the Most Frequent Element Medium C++
1846. Maximum Element After Decreasing and Rearranging Medium C C++
1861. Rotating the Box Medium C C++
1863. Sum of All Subset XOR Totals Easy C C++
1876. Substrings of Size Three with Distinct Characters Easy C C++
1877. Minimize Maximum Pair Sum in Array Medium C++ C++
1887. Reduction Operations to Make the Array Elements Equal Medium C C++
1888. Minimum Number of Flips to Make the Binary String Alternating Medium C C++
1893. Check if All the Integers in a Range Are Covered Easy C C++
1894. Find the Student that Will Replace the Chalk Medium C C++
1895. Largest Magic Square Medium C C++
1897. Redistribute Characters to Make All Strings Equal Easy C C++
1903. Largest Odd Number in String Easy C C++
1904. The Number of Full Rounds You Have Played Medium C C++
1905. Count Sub Islands Medium C C++
1906. Minimum Absolute Difference Queries Medium C C++
1909. Remove One Element to Make the Array Strictly Increasing Easy C C++
1913. Maximum Product Difference Between Two Pairs Easy C C++
1915. Number of Wonderful Substrings Medium C C++
1921. Eliminate Maximum Number of Monsters Medium C C++
1930. Unique Length-3 Palindromic Subsequences Medium C C++
1936. Add Minimum Number of Rungs Medium C C++
1937. Maximum Number of Points with Cost Medium C C++
1942. The Number of the Smallest Unoccupied Chair Medium C++
1945. Sum of Digits of String After Convert Easy C C++
1957. Delete Characters to Make Fancy String Easy C C++
1963. Minimum Number of Swaps to Make the String Balanced Medium C C++
1971. Find if Path Exists in Graph Easy C C++
1975. Maximum Matrix Sum Medium C++
1976. Number of Ways to Arrive at Destination Medium C++
1979. Find Greatest Common Divisor of Array Easy C C++
1980. Find Unique Binary String Medium C++
1992. Find All Groups of Farmland Medium C C++
1995. Count Special Quadruplets Easy C C++
2000. Reverse Prefix of Word Easy C C++
2009. Minimum Number of Operations to Make Array Continuous Hard C++
2018. Check if Word Can Be Placed In Crossword Medium C C++
2022. Convert 1D Array Into 2D Array Medium C C++
2028. Find Missing Observations Medium C C++
2037. Minimum Number of Moves to Seat Everyone Easy C C++
2038. Remove Colored Pieces if Both Neighbors are the Same Color Medium C C++
2044. Count Number of Maximum Bitwise-OR Subsets Medium C C++
2050. Parallel Courses III Hard C++
2053. Kth Distinct String in an Array Easy C++
2058. Find the Minimum and Maximum Number of Nodes Between Critical Points Medium C++
2064. Minimized Maximum of Products Distributed to Any Store Medium C C++
2073. Time Needed to Buy Tickets Easy C C++
2085. Count Common Words With One Occurrence Easy C++
2096. Step-By-Step Directions From a Binary Tree Node to Another Medium C++
2108. Find First Palindromic String in the Array Easy C C++
2109. Adding Spaces to a String Medium C C++
2124. Check if All A's Appears Before All B's Easy C C++
2125. Number of Laser Beams in a Bank Medium C C++
2134. Minimum Swaps to Group All 1's Together II Medium C C++
2135. Count Words Obtained After Adding a Letter Medium C C++
2144. Minimum Cost of Buying Candies With Discount Easy C C++
2147. Number of Ways to Divide a Long Corridor Hard C C++
2149. Rearrange Array Elements by Sign Medium C C++
2170. Minimum Operations to Make the Array Alternating Medium C++
2181. Merge Nodes in Between Zeros Medium C++
2192. All Ancestors of a Node in a Directed Acyclic Graph Medium C++
2196. Create Binary Tree From Descriptions Medium C++
2197. Replace Non-Coprime Numbers in Array Hard C++
2211. Count Collisions on a Road Medium C++
2216. Minimum Deletions to Make Array Beautiful Medium C C++
2220. Minimum Bit Flips to Convert Number Easy C C++
2225. Find Players With Zero or One Losses Medium C++
2232. Minimize Result by Adding Parentheses to Expression Medium C C++
2235. Add Two Integers Easy C C++
2251. Number of Flowers in Full Bloom Hard C++
2257. Count Unguarded Cells in the Grid Medium C C++
2264. Largest 3-Same-Digit Number in String Easy C C++
2275. Largest Combination With Bitwise AND Greater Than Zero Medium C C++
2285. Maximum Total Importance of Roads Medium C C++
2326. Spiral Matrix IV Medium C++
2331. Evaluate Boolean Binary Tree Easy C++
2347. Best Poker Hand Easy C C++
2348. Number of Zero-Filled Subarrays Medium C C++
2351. First Letter to Appear Twice Easy C C++
2353. Design a Food Rating System Medium C++
2370. Longest Ideal Subsequence Medium C C++
2373. Largest Local Values in a Matrix Easy C C++
2380. Time Needed to Rearrange a Binary String Medium C C++
2385. Amount of Time for Binary Tree to Be Infected Medium C++
2391. Minimum Amount of Time to Collect Garbage Medium C C++
2938. Separate Black and White Balls Medium C++
2406. Divide Intervals Into Minimum Number of Groups Medium C C++
2416. Sum of Prefix Scores of Strings Hard C++
2418. Sort the People Easy C C++
2419. Longest Subarray With Maximum Bitwise AND Medium C C++
2423. Remove Letter To Equalize Frequency Easy C C++
2424. Longest Uploaded Prefix Medium C++
2425. Bitwise XOR of All Pairings Medium C C++
2427. Number of Common Factors Medium C C++
2433. Find The Original Array of Prefix Xor Medium C++
2441. Largest Positive Integer That Exists With Its Negative Easy C C++
2444. Count Subarrays With Fixed Bounds Hard C C++
2467. Most Profitable Path in a Tree Medium C C++
2482. Difference Between Ones and Zeros in Row and Column Medium C C++
2485. Find the Pivot Integer Easy C C++
2486. Append Characters to String to Make Subsequence Medium C C++
2487. Remove Nodes From Linked List Medium C++
2490. Circular Sentence Easy C C++
2491. Divide Players Into Teams of Equal Skill Medium C C++
2497. Maximum Star Sum of a Graph Medium C++
2501. Longest Square Streak in an Array Medium C C++
2511. Maximum Enemy Forts That Can Be Captured Easy C C++
2516. Take K of Each Character From Left and Right Medium C++
2525. Categorize Box According to Criteria Easy C C++
2530. Maximal Score After Applying K Operations Medium C++
2531. Make Number of Distinct Characters Equal Medium C C++
2535. Difference Between Element Sum and Digit Sum of an Array Easy C C++
2540. Minimum Common Value Easy C C++
2544. Alternating Digit Sum Easy C C++
2545. Sort the Students by Their Kth Score Medium C C++
2554. Maximum Number of Integers to Choose From a Range I Medium C++
2563. Count the Number of Fair Pairs Medium C++
2582. Pass the Pillow Easy C C++
2583. Kth Largest Sum in a Binary Tree Medium C++
2597. The Number of Beautiful Subsets Medium C C++
2601. Prime Subtraction Operation Medium C C++
2605. Form Smallest Number From Two Digit Arrays Easy C C++
2610. Convert an Array Into a 2D Array With Conditions Medium C++
2641. Cousins in Binary Tree II Medium C++
2642. Design Graph With Shortest Path Calculator Hard C++
2678. Number of Senior Citizens Easy C C++
2684. Maximum Number of Moves in a Grid Medium C C++
2696. Minimum String Length After Removing Substrings Easy C C++
2698. Find the Punishment Number of an Integer Medium C C++
2706. Buy Two Chocolates Easy C C++
2707. Extra Characters in a String Medium C C++
2742. Painting the Walls Hard C++
2747. Count Zero Request Servers Medium C C++
2748. Number of Beautiful Pairs Easy C C++
2749. Minimum Operations to Make the Integer Zero Medium C C++
2751. Robot Collisions Hard C++
2770. Maximum Number of Jumps to Reach the Last Index Medium C C++
2785. Sort Vowels in a String Medium C C++
2807. Insert Greatest Common Divisors in Linked List Medium C++
2810. Faulty Keyboard Easy C C++
2812. Find the Safest Path in a Grid Medium C++
2816. Double a Number Represented as a Linked List Medium C++
2825. Make String a Subsequence Using Cyclic Increments Medium C C++
2849. Determine if a Cell Is Reachable at a Given Time Medium C C++
2864. Maximum Odd Binary Number Easy C C++
2870. Minimum Number of Operations to Make Array Empty Medium C++
2914. Minimum Number of Changes to Make Binary String Beautiful Medium C C++
2924. Find Champion II Medium C++
2938. Separate Black and White Balls Medium C++
2958. Length of Longest Subarray With at Most K Frequency Medium C++
2962. Count Subarrays Where Max Element Appears at Least K Times Medium C C++
2966. Divide Array Into Arrays With Max Difference Medium C C++
2971. Find Polygon With the Largest Perimeter Medium C C++
2981. Find Longest Special Substring That Occurs Thrice I Medium C C++
2997. Minimum Number of Operations to Make Array XOR Equal to K Medium C C++
2998. Minimum Number of Operations to Make X and Y Equal Medium C C++
3005. Count Elements With Maximum Frequency Easy C++
3007. Maximum Number That Sum of the Prices Is Less Than or Equal to K Medium C C++
3011. Find if Array Can Be Sorted Medium C C++
3016. Minimum Number of Pushes to Type Word II Medium C C++
3043. Find the Length of the Longest Common Prefix Medium C++
3065. Minimum Operations to Exceed Threshold Value I Easy C C++
3068. Find the Maximum Sum of Node Values Hard C C++
3075. Maximize Happiness of Selected Children Medium C C++
3097. Shortest Subarray With OR at Least K II Medium C C++
3110. Score of a String Easy C C++
3133. Minimum Array End Medium C C++
3137. Minimum Number of Operations to Make Word K-Periodic Medium C++
3152. Special Array II Medium C++
3163. String Compression III Medium C C++
3217. Delete Nodes From Linked List Present in Array Medium C++

License

This project is licensed under the terms of the MIT License.

Copyright © 2023-2024 Alfi Maulana