原题地址:https://oj.leetcode.com/problems/merge-intervals/题意:Given
a collection of intervals, merge all overlapping intervals.For
example,Given[1,3],[2,6]...
分类:
编程语言 时间:
2014-06-12 14:55:49
阅读次数:
235
原题地址:https://oj.leetcode.com/problems/maximum-depth-of-binary-tree/题意:Given
a binary tree, find its maximum depth.The maximum depth is the number of n...
分类:
编程语言 时间:
2014-06-12 13:55:34
阅读次数:
210
刚投了一个实习简历,被电话打过来问了几个问题,外面下着大雨,一开始也没听见。。问的是几个python的问题,被问傻了,哎,写下来记住。1
lambda匿名函数使用Python写一些执行脚本时,使用lambda可以省去定义函数的过程,让代码更加精简。对于一些抽象的,不会别的地方再复用的函数,有时候给函...
分类:
编程语言 时间:
2014-06-12 12:13:31
阅读次数:
243
突发奇想学习pygame记录一下遇到的问题吧~1.pygame版本对应python版本必须一致,我用pygame对应的python3.2去试python3.4失败,不能识别,后来把python3.4删了重装才OK2.在pycharm下debug一直失败,都卡在execfile的某一句,是因为你的.p...
分类:
其他好文 时间:
2014-06-12 09:13:00
阅读次数:
301
tablib简介-----------Tablib is a format-agnostic
tabular dataset library, written in Python.Tablib
是一个格式未知的表格操作库,使用python编写,目前(2014-06-11)支持如下格式:Excel 、...
分类:
其他好文 时间:
2014-06-12 09:08:53
阅读次数:
190