自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

E.W的博客

Python全栈开发、数据分析、机器学习

  • 博客(4)
  • 资源 (2)
  • 收藏
  • 关注

原创 【LeetCode】21. Merge Two Sorted Lists

Problem合并两个已排序的链接列表并将其作为新列表返回。新列表应该通过拼接前两个列表的节点来完成。例:输入: 1-> 2-> 4,1-> 3-> 4输出: 1-> 1-> 2-> 3-> 4-> 4Algorithmic thinkingpassPython 3 solutionclass ListNode: ...

2019-04-26 11:37:13 899

原创 【LeetCode】20. Valid Parentheses(Python3)

Problem由于只包含字符的字符串’(’,’)’,’{’,’}’,’[‘和’]’,确定输入字符串是有效的。如果输入字符串有效:必须使用相同类型的括号关闭左括号。必须以正确的顺序关闭打开括号。请注意,空字符串也被视为有效。Algorithmic thinkingclass Solution(object): def isValid(self, s): """...

2019-04-26 11:21:26 1572

原创 【LeetCode】19. Remove Nth Node From End of List

Problem给定链表,从链表末尾删除第n个节点并返回其头部Algorithmic thinkingpassPython 3 solutionclass Solution: # https://leetcode.com/problems/remove-nth-node-from-end-of-list/discuss/8802/3-short-Python-solution...

2019-04-26 10:24:26 1110

原创 【LeetCode】18. 4sum(Python3)

ProblemGiven an array nums of n integers and an integer targets,are there elements a, b, c, and d in nums such that a + b + c + d = targets?Find all unique quadruplets in the array which gives the ...

2019-04-26 10:11:21 1071

分享一个PyQt5的串口调试助手源码

分享一个PyQt5的串口调试助手源码。文件说明 1. *.ui 为界面文件 2. *.py 为两个代码文件,其中一个由 *.ui 转换而来,另一个是业务逻辑文件,两者通过后者调用前者相关联 3. *.txt 为 pyinstaller 打包 exe 指令 4. *.ico 为应用程序图标

2019-10-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除