Skip to content

This repository contains my solutions to various LeetCode problems, written in JavaScript. Each solution is designed to be efficient, well-documented, and easy to understand.

License

Notifications You must be signed in to change notification settings

TranKienCuong2003/LeetCode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCodeSolutions

Welcome to LeetCodeSolutions, a collection of my solutions to various problems on LeetCode. Each solution is implemented in JavaScript, with a focus on clarity, efficiency, and reusability. Whether you're learning algorithms or preparing for coding interviews, this repository might be a helpful resource.


📂 Repository Structure

Each solution is stored in a separate file, named according to the problem's number and title on LeetCode. For example:

1. Two Sum
2. Add Two Numbers
3. Longest Substring Without Repeating Characters
4. Median of Two Sorted Arrays
5. Longest Palindromic Substring
...

🚀 Features

  • Code Implementation: Clear and concise solutions to LeetCode problems.
  • Sample Inputs and Outputs: Examples provided to help understand and test the solutions.
  • Algorithm Explanation: Inline comments to explain the logic and approach.

🛠️ Usage

  1. Clone the repository:
    git clone https://github.com/TranKienCuong2003/LeetCodeSolutions.git
  2. Navigate to the repository folder:
    cd LeetCodeSolutions
  3. Run the solutions using Node.js:
    node <file_name>.js

📋 Problems Solved

This repository includes solutions to a wide range of algorithmic challenges, including but not limited to:

  • Array and string manipulations
  • Dynamic programming
  • Linked list operations
  • Searching and sorting algorithms
  • Graph and tree traversals
  • Regular expression matching

These problems are chosen to cover fundamental concepts, making them ideal for practice and interview preparation.


🎯 Goals

  • Solve as many LeetCode problems as possible.
  • Continuously improve algorithmic thinking and coding skills.
  • Help others by sharing well-documented solutions.

🤝 Contributions

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.


📜 License

This repository is licensed under the MIT License. See the LICENSE file for more details.


Happy coding! 🎉

About

This repository contains my solutions to various LeetCode problems, written in JavaScript. Each solution is designed to be efficient, well-documented, and easy to understand.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published