Skip to content

singhkrishna01/Leetcode-Problem-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Problem Solutions

Welcome to the Leetcode Problem Solutions repository. This repository is dedicated to providing solutions to a wide range of LeetCode problems, helping you to prepare effectively for coding interviews. Each solution is implemented in C++ and is accompanied by detailed explanations and comments to facilitate understanding.

Table of Contents

Introduction

This repository contains a collection of solutions to LeetCode problems, carefully crafted to help you understand and solve each problem efficiently. The solutions cover various problem types and difficulty levels.

Contents

The repository is organized with directories named after the LeetCode problem IDs and titles. Each directory contains:

  • solution.cpp: The C++ solution to the problem.
  • README.md: A brief description of the problem and the approach used in the solution.

How to Use

  1. Clone the repository:
    git clone https://github.com/singhkrishna01/Leetcode-Problem-Solutions.git
  2. Navigate to the desired problem directory:
    cd Leetcode-Problem-Solutions/<problem-directory>
  3. Review the README.md file for an overview of the problem and the solution approach.
  4. Open solution.cpp to examine the implementation details.

Contributing

Contributions are highly appreciated! To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature/your-feature-name
  3. Commit your changes with clear and descriptive messages:
    git commit -m "Add feature: description of feature"
  4. Push your branch to your forked repository:
    git push origin feature/your-feature-name
  5. Create a pull request to merge your changes into the main repository.

Contact Information

For any questions, suggestions, or issues, please feel free to open an issue on GitHub or contact the repository owner:

Happy Coding!

About

Collection of LeetCode questions to ace the coding interview!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published