Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ramyhakam/leetcode-php
- Owner: RamyHakam
- License: mit
- Created: 2021-11-04T21:02:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T18:57:34.000Z (9 months ago)
- Last Synced: 2024-05-02T04:45:13.339Z (9 months ago)
- Topics: leetcode, leetcode-php, leetcode-solutions, php
- Language: PHP
- Homepage:
- Size: 95.7 KB
- Stars: 25
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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]: