码迷,mamicode.com
首页 >  
搜索关键字:note to self    ( 21530个结果)
LeetCode——Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements fro...
分类:其他好文   时间:2014-08-16 11:12:43    阅读次数:317
pyhon/excel python导出到excel时的中文乱码问题
昨儿利用python+win32com将网页的表单导出到本地excel,遇到了输出乱码问题,解决方法:将x改为x.decode('utf-8')setCall('sheet1',row,col,x.decode('utf-8'))我的部分源码:self.xlBook = self.xlApp.Wor...
分类:编程语言   时间:2014-08-16 11:03:30    阅读次数:249
第一阶段的总结0816
程序运行的生命周期对象的消失和出现的过程viewDidLoad调用的时机是self.view 的getter方法的调用后根据UIApplicationMain函数,程序将进入AppDelegate.m,这个文件是xcode新建工程时自动生成的。下面看一下AppDelegate.m文件,这个关乎着应用...
分类:其他好文   时间:2014-08-16 09:41:22    阅读次数:245
Subsets II
Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descending order....
分类:其他好文   时间:2014-08-15 21:08:29    阅读次数:212
leetcode -- Merge Sorted Array
过去已无法改变,未来又难以琢磨,我们只能把握当下[问题描述]Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space ...
分类:其他好文   时间:2014-08-15 21:02:49    阅读次数:165
leetcode 之 Recover Binary Search Tree
Recover Binary Search Tree Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty s...
分类:其他好文   时间:2014-08-15 19:39:39    阅读次数:222
Quick Cocos2dx 场景对象基类实现
从使用Quick-Cocos2d-x搭建一个横版过关游戏(四)拷来个进度条类,但是由于那个类有个bug,在setProgress里面self.fill是找不到的,所以我改进了一下,代码如下: 1 local Progress = class("Progress", function() 2 ...
分类:其他好文   时间:2014-08-15 19:33:19    阅读次数:420
LeetCode (1) Merge Sorted Array
题目: Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space to hold additional elements from B. The number of elements initia...
分类:其他好文   时间:2014-08-15 18:00:09    阅读次数:194
[LeetCode] Subsets (bfs的vector实现)
Given a set of distinct integers, S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not c...
分类:其他好文   时间:2014-08-15 17:18:39    阅读次数:177
【Leetcode长征系列】Single Number II
原题: Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it withou...
分类:其他好文   时间:2014-08-15 14:46:48    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!