Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: 除了两次for循环,暂时没有想到N时间复杂度的解 ...
分类:
其他好文 时间:
2016-10-14 00:25:58
阅读次数:
111
mysql_High.Performance.MySQL.3rd.Edition.Mar.2012 A B-Tree index speeds up data access because the storage engine doesn’t have to scan the whole table ...
分类:
其他好文 时间:
2016-10-12 00:57:48
阅读次数:
205
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: ...
分类:
其他好文 时间:
2016-10-10 07:41:49
阅读次数:
147
oc Short list of some of the major differences: C++ allows multiple inheritance, Objective-C doesn't.一个允许多继承,一个不允许Unlike C++, Objective-C allows metho ...
分类:
编程语言 时间:
2016-10-02 23:48:02
阅读次数:
250
查询日志后是‘ Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist’此错误(less /var/log/mysqld.log) 试着把mysql全部删除干净,一般删除不干净(删除后残留 ...
分类:
数据库 时间:
2016-09-27 00:37:05
阅读次数:
191
Since SQL_SLAVE_SKIP_COUNTER doesn’t work with GTID we need to find a way to ignore that transaction. The way to do it is creating a new empty transac ...
分类:
数据库 时间:
2016-09-23 18:08:04
阅读次数:
267
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: Note: You may assume the ...
分类:
其他好文 时间:
2016-09-21 06:46:53
阅读次数:
118
In OpenCv, it only provide the function fitEllipse to fit Ellipse, but doesn't provide function to fit circle, so i read some paper, and write a funct ...
分类:
其他好文 时间:
2016-09-20 16:31:17
阅读次数:
213
1. 安装 wireless_tools 和 madwifi 2. 查看网卡状态 在USB接口001/003上检测到网卡。 无线网卡为 wlan0 3. 激活网卡 因为我的网卡必需要先激活才能扫描,否则下一步scan会出现错误:wlan0 Interface doesn't support scan ...
分类:
系统相关 时间:
2016-09-18 10:16:50
阅读次数:
242
Learn how to add, remove and test for CSS classes using the classList API. It's more powerful than using className and doesn't require any dependencie ...
分类:
编程语言 时间:
2016-09-18 06:34:06
阅读次数:
211