A collection of daily LeetCode problems with solutions.
- [Jan 1] 1422. Maximum_Score_After_Splitting_a_String
- [Jan 2] 2559. Count Vowel Strings in Ranges
- [Jan 3] 2270. Number of Ways to Split Array
- [Jan 4] 1930. Unique Length-3 Palindromic Subsequences
- [Jan 5] 2381. Shifting Letters II
- [Jan 6] 1769. Minimum Number of Operations to Move All Balls to Each Box
- [Jan 7] 1408. String Matching in an Array
- [Jan 8] 3042. Count Prefix and Suffix Pairs I
- [Jan 9] 2185. Counting Words With a Given Prefix
- [Jan 10] 916. Word Subsets
- [Jan 11] 1400. Construct K Palindrome Strings
- [Jan 12] 2116. Check if a Parentheses String Can Be Valid
- [Jan 13] 3223. Minimum Length of String After Operations
- [Jan 14] 2657. Find the Prefix Common Array of Two Arrays
- [Jan 15] 2429. Minimize XOR
- [Jan 16] 2425. Bitwise XOR of All Pairings
- [Jan 17] 2683. Neighboring Bitwise XOR
- [Jan 18] 1368. Minimum Cost to Make at Least One Valid Path in a Grid
- [Jan 19] 407. Trapping Rain Water II
- [Jan 20] 2661. First Completely Painted Row or Column
- [Jan 21] 2017. Grid Game
- [Jan 22] 1765. Map of Highest Peak
- [Jan 23] 1267. Count Servers that Communicate
- [Jan 24] 802. Find Eventual Safe States
- [Jan 25] 2948. Make Lexicographically Smallest Array by Swapping Elements
- [Jan 26] 2127. Maximum Employees to Be Invited to a Meeting
- [Jan 27] 1462. Course Schedule IV
- [Jan 28] 2658. Maximum Number of Fish in a Grid
- [Jan 29] 684. Redundant Connection
- [Jan 30] 2493. Divide Nodes Into the Maximum Number of Groups
- [Jan 31] 827. Making A Large Island
- [Feb 1] 3151. Special Array I
- [Feb 2] 1752. Check if Array Is Sorted and Rotated
- [Feb 3] 3105. Longest Strictly Increasing or Strictly Decreasing Subarray
- [Feb 4] 1800. Maximum Ascending Subarray Sum4
- [Feb 5] 1790. Check if One String Swap Can Make Strings Equa
- [Feb 6] 1726. Tuple with Same Product
- [Feb 7] 3160. Find the Number of Distinct Colors Among the Balls
- [Feb 8] 2349. Design a Number Container System
Each solution includes:
- Problem description
- Approach explanation
- Time and Space complexity
- Solution code
- Primary: C++
- Alternative solutions in other languages are welcome
This repository is licensed under the MIT License - see the LICENSE file for details.