LeetCode
四季信风
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode 20
题目题目链接给定一个只包括 ‘(’,’)’,’{’,’}’,’[’,’]’ 的字符串,判断字符串是否有效。 有效字符串需满足:左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。示例 1:输入: “()”输出: true示例 2:输入: “()[]{}”输出: true示例 3:输入: “(]”输出: false示例 4:...原创 2019-09-24 12:24:24 · 185 阅读 · 0 评论 -
Leetcode 19
题目题目链接Given a linked list, remove the n-th node from the end of list andreturn its head.Example:Given linked list: 1->2->3->4->5, and n = 2.After removing the second node from the e...原创 2019-09-26 23:27:31 · 270 阅读 · 0 评论
分享