This repo contains solutions to various LeetCode problems.
- Install .NET
- Install
dotnet-script
by running:dotnet tool install -g dotnet-script
- Run the script with:
dotnet script .\Program.csx
(PowerShell)
TBW (To be written)
NOTE: Progress is no longer updated.
Each solution can be found in its respective branch.
Problem Number | Problem Description | Status | Date |
---|---|---|---|
459 | Repeated Substring Pattern | Accepted | 2024-06-15 |
283 | Move Zeroes | Accepted | 2024-06-17 |
1822 | Sign of the Product of an Array | Accepted | 2024-06-18 |
509 | Fibonacci Number | Accepted | 2024-06-19 |
709 | To Lower Case | Accepted | 2024-06-20 |
58 | Length of Last Word | Accepted | 2024-06-21 |
1523 | Count Odd Numbers in a Interval Range | Accepted | 2024-06-22 |
1572 | Matrix Diagonal Sum | Accepted | 2024-06-23 |
682 | Baseball Game | Accepted | 2024-06-24 |
3110 | Score of a String | Accepted | 2024-06-25 |
3146 | Permutation Difference between Two Strings | Accepted | 2024-06-27 |
2469 | Convert the Temperature | Accepted | 2024-06-28 |
13 | Roman to Integer | Accepted | 2024-06-29 |
1502 | Can Make Arithmetic Progression From Sequence | Accepted | 2024-06-30 |
1550 | Three Consecutive Odds | Accepted | 2024-07-01 |
350 | Intersection of Two Arrays II | Accepted | 2024-07-02 |
1061 | Lexicographically Smallest Equivalent String | Accepted | 2024-07-02 |
1509 | Minimum Difference Between Largest and Smallest Value in 3 Moves | Accepted | 2024-07-03 |
1255 | Maximum Score Words Formed by Letters | Accepted | 2024-07-03 |
2181 | Merge Nodes in Between Zeros | Accepted | 2024-07-04 |
2058 | Find the Min and Max Number of Nodes Between Critical Points | Accepted | 2024-07-05 |
2582 | Pass the Pillow | Accepted | 2024-07-06 |
1518 | Water Bottles | Accepted | 2024-07-07 |
1823 | Find the Winner of the Circular Game | Accepted | 2024-07-08 |
1701 | Average Waiting Time | Accepted | 2024-07-09 |
1598 | Crawler Log Folder | Accepted | 2024-07-10 |
1190 | Reverse Substrings Between Each Pair of Parentheses | Accepted | 2024-07-11 |
1717 | Maximum Score From Removing Substrings | Accepted | 2024-07-12 |
2751 | Robot Collisions (time exceeds with my solution) | Accepted | 2024-07-13 |
3190 | Find Min Operations to Make All Elements Divisible by 3 | Accepted | 2024-07-14 |
2011 | Final Value of Variable After Performing Operations* | Accepted | 2024-07-15 |
1108 | Defanging an IP Address* | Accepted | 2024-07-15 |
1512 | Number of Good Pairs* | Accepted | 2024-07-15 |
2894 | Divisible and Non-divisible Sums Difference* | Accepted | 2024-07-15 |
771 | Jewels and Stones* | Accepted | 2024-07-15 |
1470 | Shuffle the Array* | Accepted | 2024-07-15 |
2413 | Smallest Even Multiple* | Accepted | 2024-07-16 |
1071 | Greatest Common Divisor of Strings* | Accepted | 2024-07-17 |
1491 | Average Salary Excluding the Min and Max Salary* | Accepted | 2024-07-18 |
1431 | Kids With the Greatest Number of Candies* | Accepted | 2024-07-19 |
605 | Can Place Flowers | Accepted | 2024-07-20 |
345 | Reverse Vowels of a String | Accepted | 2024-07-21 |
1480 | Running Sum of 1d Array* | Accepted | 2024-07-22 |
392 | Is Subsequence* | Accepted | 2024-07-23 |
643 | Maximum Average Subarray I* | Accepted | 2024-07-24 |
1281 | Subtract the Product and Sum of Digits of an Integer* | Accepted | 2024-07-25 |
2114 | Maximum Number of Words Found in Sentences* | Accepted | 2024-07-26 |
1207 | Unique Number of Occurrences* | Accepted | 2024-07-27 |
2215 | Find the Difference of Two Arrays* | Accepted | 2024-07-28 |
151 | Reverse Words in a String | Accepted | 2024-07-29 |
1732 | Find the Highest Altitude* | Accepted | 2024-07-30 |
206 | Reverse Linked List* | Accepted | 2024-07-31 |
724 | Find Pivot Index* | Accepted | 2024-08-01 |
104 | Maximum Depth of Binary Tree | Accepted | 2024-08-02 |
933 | Number of Recent Calls | Accepted | 2024-10-06 |
* Solution only available on leetcode.com