码迷,mamicode.com
首页 >  
搜索关键字:python gpio 点亮一颗led    ( 136028个结果
[leetcode]Maximum Subarray @ Python
原题地址:https://oj.leetcode.com/problems/maximum-subarray/题意:Find the contiguous subarray within an array (containing at least one number) which has the ...
分类:编程语言   时间:2014-06-12 17:06:04    阅读次数:339
[leetcode]Insert Interval @ Python
原题地址:https://oj.leetcode.com/problems/insert-interval/题意:Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if ne...
分类:编程语言   时间:2014-06-12 16:13:09    阅读次数:350
[leetcode]Text Justification @ Python
原题地址:https://oj.leetcode.com/problems/text-justification/题意:Given an array of words and a lengthL, format the text such that each line has exactlyLcha...
分类:编程语言   时间:2014-06-12 15:12:05    阅读次数:296
[leetcode]Merge Intervals @ Python
原题地址: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
[leetcode]Maximum Depth of Binary Tree @ Python
原题地址: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的几个问题
刚投了一个实习简历,被电话打过来问了几个问题,外面下着大雨,一开始也没听见。。问的是几个python的问题,被问傻了,哎,写下来记住。1 lambda匿名函数使用Python写一些执行脚本时,使用lambda可以省去定义函数的过程,让代码更加精简。对于一些抽象的,不会别的地方再复用的函数,有时候给函...
分类:编程语言   时间:2014-06-12 12:13:31    阅读次数:243
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!