This repository contains my solutions to various programming problems from LeetCode and Daily Problem.
The solutions are implemented in Python and organized by problem category and difficulty. Each solution includes a brief description of the problem and my thought process in solving it.
| Problem | Category | Difficulty |
|---|---|---|
| Two Sum | Arrays | Easy |
| Reverse Integer | Math | Easy |
| Palindrome Number | Math | Easy |
| Roman to Integer | Math | Easy |
| Longest Common Prefix | Strings | Easy |
| Implement strStr() | Strings | Easy |
| Valid Parentheses | Stacks | Easy |
| Merge Two Sorted Lists | Linked Lists | Easy |
| Remove Duplicates from Sorted Array | Arrays | Easy |
- Python 3
To set up the project on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/106AbdulBasit/leetcode-and-DailyProblem-Questions.git - Navigate to the project directory:
cd leetcode-and-DailyProblem-Questions
To run a solution, simply navigate to the directory for the problem you want to solve and run the Python script. For example: cd arrays/two-sum python two_sum.py
If you would like to contribute to this repository, please follow these guidelines:
- Fork the repository and create a new branch for your changes.
- Add your solution to the appropriate directory and commit your changes.
- Submit a pull request, detailing the problem you solved and your thought process in solving it.
This project is licensed under the MIT License - see the LICENSE file for details.
- LeetCode and Daily Problem for providing the programming problems.