![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode OJ
qiguanfu~
湖南科技大学
展开
-
LeetCode_136 Single Number
Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without us...原创 2018-09-23 11:35:07 · 98 阅读 · 0 评论 -
LeetCode_125 Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, we define empty string as valid palindrome. Examp...原创 2018-09-23 12:53:20 · 137 阅读 · 0 评论 -
LeetCode_38 Count and say
The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 1 2. 11 3. 21 4. 1211 5. 111221 1 is read off as "one 1" or 11.11 is read off a...原创 2018-09-20 11:22:13 · 115 阅读 · 0 评论 -
LeetCode_904 Fruit Into Baskets
In a row of trees, the i-th tree produces fruit with type tree[i]. You start at any tree of your choice, then repeatedly perform the following steps: Add one piece of fruit from this tree to your ba...原创 2018-09-20 12:12:15 · 299 阅读 · 0 评论 -
LeetCode 刷题之路
2019/3/25 栈 84 柱状图中最大的矩形 树 对称二叉树原创 2019-03-25 15:06:16 · 189 阅读 · 0 评论