//// YYExtension.swift//// Created by yao_yu on 14-7-18.// Copyright (c) 2014年 yao_yu. All rights reserved.//import Foundationextension String{ ...
分类:
移动开发 时间:
2014-07-21 09:17:39
阅读次数:
183
Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu...
分类:
其他好文 时间:
2014-07-21 09:08:29
阅读次数:
209
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
分类:
其他好文 时间:
2014-07-21 08:36:32
阅读次数:
208
第一节:我和python的第一次亲密接触0. Python 是什么类型的语言?答:脚本语言(Scripting language)是电脑编程语言,因此也能让开发者藉以编写出让电脑听命行事的程序。以简单的方式快速完成某些复杂的事情通常是创造脚本语言的重要原则,基于这项原则,使得脚本语言通常比 C语言、...
分类:
编程语言 时间:
2014-07-21 08:32:43
阅读次数:
347
Partition ListGiven a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should pres...
分类:
其他好文 时间:
2014-07-21 08:28:54
阅读次数:
230
通常,访问类和实例属性的时候,将返回所存储的相关值,也就是直接和类(实例的)的__dict__打交道。若果要规范这些访问和设值方式的话,一种方法是数据描述符,另一种就是python内置的数据描述符协议函数Property()。property是一种特殊的值,访问它时会计算它的值。特性的原型函数是pr...
分类:
编程语言 时间:
2014-07-21 00:20:01
阅读次数:
302
importgc gc.disable() http://blog.csdn.net/aixiaohei/article/details/6446869
分类:
编程语言 时间:
2014-07-21 00:14:12
阅读次数:
219
更新tableView的某个cell异步加载完数据后更新某个cell,这应该是非常常见的使用方法了,我们经常会用reloadData.效果:源码://// RootViewController.m// DataTableView//// Copyright (c) 2014年 Y.X. All...
分类:
其他好文 时间:
2014-07-20 22:23:00
阅读次数:
293
2014年7月20日北京,晴,33℃北京的夏天是燥热的,我攒了5万块钱,今天,我开始创业。先自我介绍一下吧,1990年出生,去年大学本科毕业。来北京工作一年半,精通安卓,对产品有感觉,熟悉IOS,熟悉Python+Django,本科时有过创业经历。我的家在河北唐山,中国北方。在我们那有一句谚语,“东...
分类:
其他好文 时间:
2014-07-20 22:03:26
阅读次数:
260
Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh...
分类:
其他好文 时间:
2014-07-20 21:36:16
阅读次数:
186