Skip to content

This repository contains solutions to programming problems from platforms like LeetCode and HackerRank. It is intended as a reference for learning, practice, and inspiration. Users can copy and use the solutions, but attribution is required.

License

Notifications You must be signed in to change notification settings

ReinerJasin/coding-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Practice Repository

Last Updated: 1 November 2025

Number of problems solved:

HackerRank Problems Solved LeetCode Problems Solved

This repository contains solutions to programming problems from platforms like LeetCode and HackerRank.
It is intended as a reference for learning, practice, and inspiration. Users can copy and use the solutions, but attribution is required.


Repository Structure

coding-practice/
│
├── HackerRank/          # Solutions for HackerRank problems
├── LeetCode/            # Solutions for LeetCode problems
├── README.md
├── LICENSE
├── requirements.txt     # Required Python packages
└── .gitignore

Each problem has its own folder with a solution.py file and optionally a test_cases.json file if test cases are provided.


Getting Started

Follow these steps to set up the repository locally:

1. Clone the Repository

git clone https://github.com/ReinerJasin/coding-practice.git
cd coding-practice
  1. Set Up a Python Virtual Environment (Optional but Recommended)
python -m venv venv
source venv/bin/activate   # Linux/macOS
venv\Scripts\activate      # Windows
  1. Install Dependencies All required Python packages are listed in requirements.txt. Install them using:
pip install -r requirements.txt

Using the Solutions

  1. Navigate to the problem folder (e.g., LeetCode/TwoSum/solution.py)
  2. Copy and paste the solution into your own code file.
  3. If a test_cases.json is included, you can run it with the provided test runner.

Important: Please give attribution by mentioning the author in your comments:

# Solution adapted from Reiner Jasin's GitHub repository (https://github.com/ReinerJasin/coding-practice/)

Contribution Guidelines

  • Feel free to submit pull requests to add new solutions or improve existing ones.
  • Follow the folder structure (HackerRank/ or LeetCode/).
  • Include your code in a solution.py file with proper problem naming.

License

This repository is licensed under the MIT License. You are free to use, copy, and adapt the solutions with attribution.


Contact

For questions or feedback, you can open an issue or contact me personally through these links:

Email   GitHub   LinkedIn

About

This repository contains solutions to programming problems from platforms like LeetCode and HackerRank. It is intended as a reference for learning, practice, and inspiration. Users can copy and use the solutions, but attribution is required.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages