My solutions to various competitive programming problems from different platforms. This repository serves as a personal archive of my problem-solving journey.
| # | Title | Solution | Difficulty |
|---|---|---|---|
| 1 | Two Sum | Python | Easy |
| 7 | Reverse Integer | Python | Medium |
| 9 | Palindrome Number | Python | Easy |
| 27 | Remove Element | Python | Easy |
| 136 | Single Number | Python | Easy |
| 206 | Reverse Linked List | Python | Easy |
| 217 | Contains Duplicate | Python | Easy |
| 226 | Invert Binary Tree | Python | Easy |
| 232 | Implement Queue using Stacks | Python | Easy |
| 349 | Intersection of Two Arrays | Python | Easy |
| 442 | Find All Duplicates in an Array | Python | Medium |
| 557 | Reverse Words in a String III | Python | Easy |
| 700 | Search in a Binary Search Tree | Python | Easy |
| 771 | Jewels and Stones | Python | Easy |
| 804 | Unique Morse Code Words | Python | Easy |
| 876 | Middle of the Linked List | Python | Easy |
| 938 | Range Sum of BST | Python | Easy |
| 961 | N-Repeated Element in Size 2N Array | Python | Easy |
| 1108 | Defanging an IP Address | Python | Easy |
| 1290 | Convert Binary Number in a Linked List to Integer | Python | Easy |
| 1295 | Find Numbers with Even Number of Digits | Python | Easy |
| 1342 | Number of Steps to Reduce a Number to Zero | Python | Easy |
| 1351 | Count Negative Numbers in a Sorted Matrix | Python | Easy |
| 1365 | How Many Numbers Are Smaller Than the Current Number | Python | Easy |
| 1379 | Find a Corresponding Node of a Binary Tree in a Clone of That Tree | Python | Easy |
| 1431 | Kids With the Greatest Number of Candies | Python | Easy |
| 1460 | Make Two Arrays Equal by Reversing Subarrays | Python | Easy |
| 1470 | Shuffle the Array | Python | Easy |
| 1480 | Running Sum of 1d Array | Python | Easy |
| 1486 | XOR Operation in an Array | Python | Easy |
| 1502 | Can Make Arithmetic Progression From Sequence | Python | Easy |
| 1528 | Shuffle String | Python | Easy |
| 1662 | Check If Two String Arrays are Equivalent | Python | Easy |
| 1672 | Richest Customer Wealth | Python | Easy |
| 1678 | Goal Parser Interpretation | Python | Easy |
| 1684 | Count the Number of Consistent Strings | Python | Easy |
| 1704 | Determine if String Halves Are Alike | Python | Easy |
| 1757 | Recyclable and Low Fat Products | SQL | Easy |
| 1773 | Count Items Matching a Rule | Python | Easy |
| 1859 | Sorting the Sentence | Python | Easy |
| 1920 | Build Array from Permutation | Python | Easy |
| 1929 | Concatenation of Array | Python | Easy |
| 2011 | Final Value of Variable After Performing Operations | Python | Easy |
| 2089 | Find Target Indices After Sorting Array | Python | Easy |
| 2108 | Find First Palindromic String in the Array | Python | Easy |
| 2114 | Maximum Number of Words Found in Sentences | Python | Easy |
| 2149 | Rearrange Array Elements by Sign | Python | Medium |
| 2235 | Add Two Integers | Python | Easy |
| 2236 | Root Equals Sum of Children | Python | Easy |
| 2351 | First Letter to Appear Twice | Python | Easy |
| 2413 | Smallest Even Multiple | Python | Easy |
| 2418 | Sort the People | Python | Easy |
| 2469 | Convert the Temperature | Python | Easy |
| 2496 | Maximum Value of a String in an Array | Python | Easy |
| 2651 | Calculate Delayed Arrival Time | Python | Easy |
| 2652 | Sum Multiples | Python | Easy |
| 2667 | Create Hello World Function | JavaScript | Easy |
| 2678 | Number of Senior Citizens | Python | Easy |
| 2703 | Return Length of Arguments Passed | JavaScript | Easy |
| 2733 | Neither Minimum nor Maximum | Python | Easy |
| 2788 | Split Strings by Separator | Python | Easy |
| 2798 | Number of Employees Who Met the Target | Python | Easy |
| 2877 | Create a DataFrame from List | Python | Easy |
| 2878 | Get the Size of a DataFrame | Python | Easy |
| 2879 | Display the First Three Rows | Python | Easy |
| 2881 | Create a New Column | Python | Easy |
| 2884 | Modify Columns | Python | Easy |
| 2885 | Rename Columns | Python | Easy |
| 2886 | Change Data Type | Python | Easy |
| 2887 | Fill Missing Data | Python | Easy |
| 2888 | Reshape Data: Concatenate | Python | Easy |
| 2891 | Method Chaining | Python | Easy |
| 2894 | Divisible and Non-divisible Sums Difference | Python | Easy |
| 2942 | Find Words Containing Character | Python | Easy |
| 2965 | Find Missing and Repeated Values | Python | Easy |
- Clone the repository
git clone https://github.com/Programmer-RD-AI/competitive-programming.git- Navigate to the problem directory
cd competitive-programming/Leetcode- Run any solution
python3 "1. Two Sum.py"This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.