{"id":17728379,"url":"https://github.com/ramyhakam/leetcode-php","last_synced_at":"2025-06-22T06:05:07.179Z","repository":{"id":45172422,"uuid":"424739290","full_name":"RamyHakam/leetcode-php","owner":"RamyHakam","description":"My PHP Solutions for leet code problems with different  test cases ","archived":false,"fork":false,"pushed_at":"2024-04-23T18:57:34.000Z","size":98,"stargazers_count":30,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-22T06:05:01.341Z","etag":null,"topics":["leetcode","leetcode-php","leetcode-solutions","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RamyHakam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-04T21:02:46.000Z","updated_at":"2025-03-03T22:50:47.000Z","dependencies_parsed_at":"2024-10-26T00:43:50.019Z","dependency_job_id":null,"html_url":"https://github.com/RamyHakam/leetcode-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RamyHakam/leetcode-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamyHakam%2Fleetcode-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamyHakam%2Fleetcode-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamyHakam%2Fleetcode-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamyHakam%2Fleetcode-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamyHakam","download_url":"https://codeload.github.com/RamyHakam/leetcode-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamyHakam%2Fleetcode-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261244016,"owners_count":23129640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["leetcode","leetcode-php","leetcode-solutions","php"],"created_at":"2024-10-25T19:42:37.459Z","updated_at":"2025-06-22T06:05:01.595Z","avatar_url":"https://github.com/RamyHakam.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetCode in PHP 😊🤓\n##  My Solutions with Many different Test Cases Fully in PHP 😍\n\n![](https://github.com/RamyHakam/leet-code-php/workflows/Build/badge.svg)\n\nIn 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. 👌🚀\n## Acknowledgment ✋\n\nMany 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   🤝🙏🏻\n\n## How To Use This List\n- Each problem has Three files `Solution, Test, and Input.json` Sorted by Category. 📂📂📂\n- Check The solution and Validate it per Category.☑️✅\n- Check The input File for That Problem in `Tests\\Helper\\InputFiles`.🧪🔦\n- Run the test file for that problem in `Tests\\{Category}` Folder.⌛️🤔\n- Add more Test Cases data into The input File following the Same existing format `JSON` 🥸😉\n- Run The Test again to check the solution against your new test cases automatically ☑️✅🙏🏻\n\n## Contribute!!\n\nYou are very welcomed if You want to Contribute 🥳 on that, And this is How :\n\n- Fork The Repo.📂\n- Create Your new Solution in a Class with The existing Name + your Name. 🚀\n- Create a Test Class for Your Solution.☑️✅\n- Extend `MainTest` Class to load the data from your input file 👌👌\n- Add/Copy a new Input file in `Tests\\Helper\\InputFiles` Exactly With Your Test Class Name Follow The same Format for Other files!. 👨\n- Validate Your Solution From Time and Space Complexity.⌛️🧪\n- Create a PR against The Repo 🥳\n- Let us discuss about your solution in your PR 🥊🥊🥊\n- Done !! You are a Contributor now 🍻\n\n## License\nMIT\n\n**Free Software, Hell Yeah!**\n\n[//]: # (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)\n\n[dill]: \u003chttps://github.com/joemccann/dillinger\u003e\n[git-repo-url]: \u003chttps://github.com/joemccann/dillinger.git\u003e\n[john gruber]: \u003chttp://daringfireball.net\u003e\n[df1]: \u003chttp://daringfireball.net/projects/markdown/\u003e\n[markdown-it]: \u003chttps://github.com/markdown-it/markdown-it\u003e\n[Ace Editor]: \u003chttp://ace.ajax.org\u003e\n[node.js]: \u003chttp://nodejs.org\u003e\n[Twitter Bootstrap]: \u003chttp://twitter.github.com/bootstrap/\u003e\n[jQuery]: \u003chttp://jquery.com\u003e\n[@tjholowaychuk]: \u003chttp://twitter.com/tjholowaychuk\u003e\n[express]: \u003chttp://expressjs.com\u003e\n[AngularJS]: \u003chttp://angularjs.org\u003e\n[Gulp]: \u003chttp://gulpjs.com\u003e\n\n[PlDb]: \u003chttps://github.com/joemccann/dillinger/tree/master/plugins/dropbox/README.md\u003e\n[PlGh]: \u003chttps://github.com/joemccann/dillinger/tree/master/plugins/github/README.md\u003e\n[PlGd]: \u003chttps://github.com/joemccann/dillinger/tree/master/plugins/googledrive/README.md\u003e\n[PlOd]: \u003chttps://github.com/joemccann/dillinger/tree/master/plugins/onedrive/README.md\u003e\n[PlMe]: \u003chttps://github.com/joemccann/dillinger/tree/master/plugins/medium/README.md\u003e\n[PlGa]: \u003chttps://github.com/RahulHP/dillinger/blob/master/plugins/googleanalytics/README.md\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framyhakam%2Fleetcode-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framyhakam%2Fleetcode-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framyhakam%2Fleetcode-php/lists"}