Recent Posts

Posted in Python

361.Python实现的豆瓣电影信息查询

实现的代码如下: # -*- coding: ut…

Continue Reading
Posted in LeetCode

LeetCode 111. Find the Difference(找不同)

题目描述 Given two strings s …

Continue Reading
Posted in Python

666.Python二叉树算法实现

很简单的二叉树,代码如下: #!/usr/bin/…

Continue Reading
Posted in LeetCode

LeetCode 449. Sum of Two Integers(两个数之和)

题目描述 Calculate the sum of…

Continue Reading
Posted in LeetCode

LeetCode 663. Find All Numbers Disappeared in an Array(找出数组中所有消失的数)

题目描述 Given an array of in…

Continue Reading
Posted in Python

489.Python中unicode码转utf8的方法

代码如下: def h2b(x): "&…

Continue Reading
Posted in Python

666.Python实现的命令行通讯录

支持添加、删除、修改、搜索你的联系人以及他们的信息…

Continue Reading
Posted in LeetCode

LeetCode 669. Add Digits

题目描述 Given a non-negative…

Continue Reading
Posted in Python

999.用Python来实现的adsl拨号

适用于WinDos,代码如下: import os…

Continue Reading
Posted in Python

886.Python串口通信

串口通信:http://pypi.python.o…

Continue Reading
Posted in Python

669.Python收发邮件

收邮件,邮件正文可能是base64编码也可能是gb…

Continue Reading
Posted in LeetCode

LeetCode 361. Detect Capital(检查大写)

题目描述 Given a word, you ne…

Continue Reading