发布于 5年前

PHP 版 LeetCode 代码实现——总目录

本专题收集汇总PHP版 LeetCode 题目的代码实现。

序号 标题 难度
1 Two Sum (两数之和)
2 Add Two Numbers (两个数字相加 ) ★★
3 Longest Substring Without Repeating Characters(无重复字符的最长子串) ★★
4 Median of Two Sorted Arrays(两个排序数组的中位数) ★★★
5 Longest Palindromic Substring(最长回文子串) ★★
6 ZigZag Conversion(Z 自行转换) ★★
7 Reverse Integer(整数反转)
8 String to Integer (atoi)(字符串转为整形) ★★
9 Palindrome Number(验证回文数字)
10 Regular Expression Matching(正则表达式匹配) ★★★
11 Container With Most Water(盛水最多的容器) ★★
12 Integer to Roman(整数转化为罗马数字) ★★
13 Roman to Integer(罗马数字转化为整数)
14 Longest Common Prefix(最长共同前缀)
15 3Sum(三数之和) ★★
16 3Sum Closest(最接近的三数之和) ★★
17 Letter Combinations of a Phone Number(电话号码的字母组合) ★★
18 4Sum(四数之和) ★★
19 Remove Nth Node From End of List(移除链表倒数第N个节点)
20 Valid Parentheses(验证括号)
©2020 edoou.com   京ICP备16001874号-3