karpovigorok/leetcode
Composer 安装命令:
composer require karpovigorok/leetcode
包简介
Leetcode.com problem solve using php language
关键字:
README 文档
README
Clone is Free, press the Star also is free!
Leetcode.com problem solve using php language
How To
Get via composer
composer require karpovigorok/leetcode
Structure
src directory contain Solution classes
result directory contain examples of use
Example
<?php
use Leetcode\CountPrimes\Solution;
$solution = new Solution();
echo $solution->countPrimes(499979) . PHP_EOL;
Solved
Difficulty: Easy
- Two Sum php and js
- Two Sum II - Input array is sorted
- Reverse Integer
- Palindrome Number php
- Palindrome Number js
- Palindrome Linked List
- Valid Palindrome
- Valid Palindrome II
- Roman to Integer
- Longest Common Prefix
- Count Primes
- Sqrt(x)
- Valid Parentheses
- Implement strStr()
- Merge Sorted Array
- Remove Duplicates from Sorted Array
- Min Stack
- Merge Two Sorted Lists
- Search Insert Position
- First Bad Version
- Guess Number Higher or Lower
- Maximum Subarray
- Majority Element
Difficulty: Medium
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-01-16