Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 3.13 KB

README.md

File metadata and controls

59 lines (47 loc) · 3.13 KB

LeetCode in PHP 😊🤓

My Solutions with Many different Test Cases Fully in PHP 😍

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!