题目: Given a string, find the length of the longest
substring without repeating characters. For example, the longest substring
without repeating letter...
分类:
其他好文 时间:
2014-04-30 21:15:32
阅读次数:
511
目前ios的指令集有以下几种:1,armv6,支持的机器iPhone,iPhone2,iPhone3G及对应的iTouch2,armv7,支持的机器iPhone4,iPhone4S3,armv7s,支持的机器iPhone5,iPhone5C4,arm64,支持的机器:iPhone5S机器对指令集的支...
分类:
其他好文 时间:
2014-04-30 16:55:59
阅读次数:
429
错误描述:Illegal overloaded getter method with
ambiguous type for property parent in class class cn.domain.Menu. This breaks
the JavaBeans specification a...
分类:
其他好文 时间:
2014-04-30 15:24:40
阅读次数:
6857
#jQuery种类>*封装对象方法的插件,这种插件是我们常用的插件,后面将会具体针对这种插件介绍,如:$("#div").parent();>*封装全局函数的插件
如:jQuery.ajax()>*选择器插件 如:$("ul li:eq(0)")#基本要点>*所有的对象方法(第1种)都应该附加在.....
分类:
Web程序 时间:
2014-04-29 19:32:05
阅读次数:
549
状况:suntus@suntus-virtual-machine:~$ sudo
apt-get install openssl-servicesudo: /etc/sudoers is mode 0777, should be
0440sudo: no valid sudoers sources ...
分类:
其他好文 时间:
2014-04-29 11:42:47
阅读次数:
552
这道题中要求时间复杂度为O(n),首先我们可以知道的是,如果先对数组排序再计算其最长连续序列的时间复杂度是O(nlogn),所以不能用排序的方法。我一开始想是不是应该用动态规划来解,发现其并不符合动态规划的特征。最后采用类似于LRU_Cache中出现的数据结构(集快速查询和顺序遍历两大优点于一身)来...
分类:
其他好文 时间:
2014-04-28 10:21:19
阅读次数:
1003
Linux中的IO使用方法应该是新版本内核才有的方法。请参考:./Documentation/gpio.txt文件提供的API:驱动需要包含
#include 判断一个IO是否合法:int gpio_is_valid(int number);设置GPIO的方向,如果是输出同时设置电平:/* set
...
分类:
系统相关 时间:
2014-04-28 06:13:34
阅读次数:
800