Posted in Python

975.用Python获取Google的下拉框自动完成提示文本

直接上代码了。 #!/usr/bin/python…

Continue Reading
Posted in Python

666.用Python在Windows下实现定时关机

直接上代码: ~/Desktop/shutdown…

Continue Reading
Posted in LeetCode

LeetCode 999. Average of Levels in Binary Tree(二叉树每层的平均值)

题目描述 Given a non-empty bi…

Continue Reading
Posted in LeetCode

LeetCode 471. Trim a Binary Search Tree(修剪二叉搜索树)

题目描述 Given a binary searc…

Continue Reading
Posted in JAVA

749.ie9中createElement动态生成iframe兼容性问题解决方法

以下代码在IE8下运行通过,在IE9中出错:doc…

Continue Reading
Posted in JAVA

453.javascript验证价格输入的合法性

HTML代码: 请输入价格: <input …

Continue Reading
Posted in LeetCode

LeetCode 971. Reshape the Matrix(重塑矩阵)

题目描述 In MATLAB, there is …

Continue Reading
Posted in LeetCode

LeetCode 823. Baseball Game(棒球赛)

题目描述 You’re now a b…

Continue Reading
Posted in LeetCode

LeetCode 716. Distribute Candies

题目描述 Given an integer arr…

Continue Reading
Posted in LeetCode

LeetCode 671. Reverse Words in a String III

题目描述 Given a string, you …

Continue Reading
Posted in LeetCode

LeetCode 142. Array Partition I

题目描述 Given an array of 2n…

Continue Reading
Posted in LeetCode

LeetCode 321. Merge Two Binary Trees

题目描述 Given two binary tre…

Continue Reading