
LeetCode刷题日记
文章平均质量分 83
Roeyyyy
这个作者很懒,什么都没留下…
展开
-
[LeetCode]Valid Parentheses(Python)
1.题目要求:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the correct order, "()" and "()[]{}" are all val...原创 2018-03-25 23:22:02 · 231 阅读 · 0 评论 -
[LeetCode]Merge Two Sorted Lists(Python)
1.题目要求:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.2.题目理解:题目需求是合并两个已排序的链表,合并后链表依然有序。输入: 1->2->4 ...原创 2018-03-26 20:42:21 · 534 阅读 · 0 评论