Giter Club home page Giter Club logo

leetcode-py's Introduction

Leetcode Solutions

Welcome to my repository of Leetcode problem solutions! I’m Sujinder Pothula, and I have created this repository to stay in touch with the basics of coding and problem-solving, as well as to provide solutions to the larger community of developers.

About This Repository This repository contains my solutions to various Leetcode problems, which I solve on a regular basis. The main goals of this repository are:

Continuous Learning: To keep my problem-solving skills sharp and stay updated with fundamental algorithms and data structures. Community Contribution: To share my solutions with the community, helping others who are preparing for coding interviews or looking to improve their problem-solving skills.

Structure of the Repository Each problem solution is stored in its own directory under the src folder. The directory is named after the Leetcode problem number, and contains two files:

1. a solution file containing the source code.
2. a test file containing the corresponding unit tests using pytest.

Here’s an example structure for problem number 122: src/ ├── 00122/ │ ├── max_profit_ii.py │ └── max_profit_ii_test.py ...

How to Use This Repository Clone the Repository: Clone this repository to your local machine using the following command: git clone https://github.com/your-username/leetcode-solutions.git

Navigate to a Problem Directory: Change directory to the problem you are interested in: cd src/00122

Run the Tests: Use pytest to run the tests for the solution: pytest solution_test.py

Contributing I welcome contributions from the community! If you have a better solution to a problem or find an issue with my existing solutions, feel free to open a pull request or an issue. Please ensure your code is well-documented and tested.

Contact Feel free to reach out if you have any questions or suggestions:

Email: [email protected] LinkedIn: [https://www.linkedin.com/in/sujinder/] License This repository is licensed under the MIT License. See the LICENSE file for more details.

leetcode-py's People

Contributors

psujinder avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.