Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ramyhakam/leetcode-php

My PHP Solutions for leet code problems with different test cases
https://github.com/ramyhakam/leetcode-php

leetcode leetcode-php leetcode-solutions php

Last synced: 3 months ago
JSON representation

My PHP Solutions for leet code problems with different test cases

Awesome Lists containing this project

README

        

# LeetCode in PHP πŸ˜ŠπŸ€“
## My Solutions with Many different Test Cases Fully in PHP 😍

![](https://github.com/RamyHakam/leet-code-php/workflows/Build/badge.svg)

In this repository you can find my solutions for too many different leet code problems, I will frequently update it to add more solutions and test cases. πŸ‘ŒπŸš€
## Acknowledgment βœ‹

Many of these solutions are inspired by some other's solutions and ideas, But fully implemented and tested By me ,So thanks to all Developers Who shares their ideas and solutions with others πŸ€πŸ™πŸ»

## How To Use This List
- Each problem has Three files `Solution, Test, and Input.json` Sorted by Category. πŸ“‚πŸ“‚πŸ“‚
- Check The solution and Validate it per Category.β˜‘οΈβœ…
- Check The input File for That Problem in `Tests\Helper\InputFiles`.πŸ§ͺπŸ”¦
- Run the test file for that problem in `Tests\{Category}` Folder.βŒ›οΈπŸ€”
- Add more Test Cases data into The input File following the Same existing format `JSON` πŸ₯ΈπŸ˜‰
- Run The Test again to check the solution against your new test cases automatically β˜‘οΈβœ…πŸ™πŸ»

## Contribute!!

You are very welcomed if You want to Contribute πŸ₯³ on that, And this is How :

- Fork The Repo.πŸ“‚
- Create Your new Solution in a Class with The existing Name + your Name. πŸš€
- Create a Test Class for Your Solution.β˜‘οΈβœ…
- Extend `MainTest` Class to load the data from your input file πŸ‘ŒπŸ‘Œ
- Add/Copy a new Input file in `Tests\Helper\InputFiles` Exactly With Your Test Class Name Follow The same Format for Other files!. πŸ‘¨
- Validate Your Solution From Time and Space Complexity.βŒ›οΈπŸ§ͺ
- Create a PR against The Repo πŸ₯³
- Let us discuss about your solution in your PR πŸ₯ŠπŸ₯ŠπŸ₯Š
- Done !! You are a Contributor now 🍻

## License
MIT

**Free Software, Hell Yeah!**

[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)

[dill]:
[git-repo-url]:
[john gruber]:
[df1]:
[markdown-it]:
[Ace Editor]:
[node.js]:
[Twitter Bootstrap]:
[jQuery]:
[@tjholowaychuk]:
[express]:
[AngularJS]:
[Gulp]:

[PlDb]:
[PlGh]:
[PlGd]:
[PlOd]:
[PlMe]:
[PlGa]: