Skip to content

๐€ ๐ซ๐ž๐ฉ๐จ๐ฌ๐ข๐ญ๐จ๐ซ๐ฒ ๐œ๐จ๐ง๐ญ๐š๐ข๐ง๐ข๐ง๐  ๐ฌ๐จ๐ฅ๐ฎ๐ญ๐ข๐จ๐ง๐ฌ ๐ญ๐จ ๐‹๐ž๐ž๐ญ๐‚๐จ๐๐ž ๐ฉ๐ซ๐จ๐›๐ฅ๐ž๐ฆ๐ฌ.

Notifications You must be signed in to change notification settings

ashifhassandev/leetcode-solutions

Repository files navigation

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

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:
    git clone https://github.com/your-username/leetcode-solutions.git  
  2. Navigate to a problem folder:
    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

License

This repository is licensed under the MIT License.

Acknowledgments

  • Thanks to LeetCode for providing the problems and platform.
  • Inspiration from the competitive programming community.

About

๐€ ๐ซ๐ž๐ฉ๐จ๐ฌ๐ข๐ญ๐จ๐ซ๐ฒ ๐œ๐จ๐ง๐ญ๐š๐ข๐ง๐ข๐ง๐  ๐ฌ๐จ๐ฅ๐ฎ๐ญ๐ข๐จ๐ง๐ฌ ๐ญ๐จ ๐‹๐ž๐ž๐ญ๐‚๐จ๐๐ž ๐ฉ๐ซ๐จ๐›๐ฅ๐ž๐ฆ๐ฌ.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
close