Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashifhassandev/leetcode-solutions

A repository containing solutions to LeetCode problems.
https://github.com/ashifhassandev/leetcode-solutions

javascript leetcode leetcode-questions leetcode-solutions

Last synced: about 9 hours ago
JSON representation

A repository containing solutions to LeetCode problems.

Awesome Lists containing this project

README

        

# LeetCode Problem Solutions

This repository contains solutions to various LeetCode problems. Each problem is organized in its own folder and includes a solution file. The goal of this repository is to provide clean, efficient, and well-documented solutions for learning and practice purposes.

## Project Structure

```plaintext
leetcode-solutions/
├── 1-two-sum/
│ ├── README.md # Description of the problem
│ └── solution.js # Solution to the problem
├── 26-remove-duplicates-from-sorted-array/
├── 27-remove-element/
├── 28-find-the-index-of-the-first-occurrence-in-a-string/
├── 35-search-insert-position/
├── 58-length-of-last-word/
├── 66-plus-one/
├── 67-add-binary/
├── 69-sqrt(x)/
├── 9-palindrome-number/
└── README.md # Overview of the repository
```

### Folder Details

Each problem folder includes:

- `README.md`: A description of the problem, including its prompt and any necessary examples.
- `solution.js`: The solution to the problem, written in JavaScript.

## How to Use

1. **Clone the repository**:
```bash
git clone https://github.com/your-username/leetcode-solutions.git
```
2. **Navigate to a problem folder**:
```bash
cd leetcode-solutions/1-two-sum
```
3. **Review the problem and solution**:
- Read the `README.md` file for the problem description.
- Open the `solution.js` file to view the code.

## Author

- **Your Name**
- [GitHub](https://github.com/ashif1996)

## License

This repository is licensed under the MIT License.

## Acknowledgments

- Thanks to [LeetCode](https://leetcode.com/) for providing the problems and platform.
- Inspiration from the competitive programming community.