标签: leetcode
-
LeetCode20-Valid-Parentheses
Given a string containing just the characters ‘(‘, ‘)’,…
-
LeetCode19-Remove-Nth-Node-From-End-of-List
Given a linked list, remove the n-th node from the end …
-
LeetCode184-Sum
Given an array nums of n integers and an integer target…
-
LeetCode-Practice一
英文翻译过来就是把数字化成二进制,计算两个1之间的最大间距。1000,1100,1010的最大间距分别是0,1…
-
Leetcode-PHP题解D75-706-Design-HashMap
D75 706. Design HashMap 题目链接 706. Design HashMap 题目分析 自…
-
LeetCode6-Z-字形变换zigzagconversionJS
将一个给定字符串根据给定的行数,以从上往下、从左到右进行 Z 字形排列。比如输入字符串为 “LEETCODEI…
-
Leetcode刷完31道链表题的一点总结
前几天第一次在 Segmentfault 发文—JavaScript:十大排序的算法思路和代码实现,发现大家似…
-
Leetcode-PHP题解D74-999-Available-Captures-for-Rook
D74 999. Available Captures for Rook 题目链接 999. Availabl…
-
LeetCode17-Letter-Combinations-of-a-Phone-Number
Given a string containing digits from 2-9 inclusive, re…
-
Leetcode-PHP题解D73-389-Find-the-Difference
用array_count_values计算字符串中字符出现的次数,对比两个字符串的字符出现次数。计算差集,返回…