Solve problems from Leetcode and others with PHP! Inspired by NeetCode Roadmap flow.
You can run all scripts with this command:
php folder/script.php
. Eg:php LeetCode/Trees/MaximumDepthBinaryTree.php
It will output something like:
Test 1: Ok|Failed
Test 2: Ok|Failed
Test 3: Ok|Failed
You can contribute for this project forking the repository and making pull requests :).
- 1. Two Sum - LeetCode, Explanation
- 242. Valid Anagram - LeetCode, Explanation
- 217. Contains Duplicate - LeetCode, Explanation
Problems that I want fun to solve, but do not remember the source or it was from job application assessment.