一、安装前提(准备数据文件、安装其他依赖的软件) 1、准备数据存放的目录 [root@localhost ~]# fdisk /dev/sdb (fdisk /dev/sdb 创建一个逻辑分区/dev/sdb1)Device contains neither a valid DOS partitio ...
分类:
数据库 时间:
2016-09-03 08:35:32
阅读次数:
225
Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:
其他好文 时间:
2016-09-03 06:24:38
阅读次数:
274
题目: Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = "rat", ...
分类:
其他好文 时间:
2016-08-31 15:18:06
阅读次数:
161
一、默认的提示 如需要修改,可在js代码中加入: 推荐做法,将此文件放入messages_cn.js中,在页面中引入 每个字段验证通过执行函数 要验证的元素通过验证后的动作,如果跟一个字符串,会当作一个 css 类,也可跟一个函数。 添加 "valid" 到验证元素,在 CSS 中定义的样式 <st ...
分类:
Web程序 时间:
2016-08-30 19:45:05
阅读次数:
309
这种错误是笔者在执行一条计算符合条件的行有多少个,用OracleDataReader读取计算出的行数时发生。 查询语句为: C#执行过程为: 后来经过调试发现是由于oraDataReader[0] (或者是oraDataReader["Count(1)"]),的类型是decimal的,所以直接用以上 ...
分类:
数据库 时间:
2016-08-30 17:33:07
阅读次数:
148
Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edges mak ...
分类:
其他好文 时间:
2016-08-29 12:45:43
阅读次数:
173
本来之前也做过一次这样的验,但可能是这两天太热脑袋不够用了,于是就只有看看源码咯 that.updateStatus(updateAll ? $f.attr('data-bv-field') : $f, response.valid ? that.STATUS_VALID : that.STATUS ...
分类:
其他好文 时间:
2016-08-25 20:25:54
阅读次数:
176
(LeetCode)Valid Sudoku --- 合法数独...
分类:
其他好文 时间:
2016-08-23 13:25:12
阅读次数:
125
题目: Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", th ...
分类:
其他好文 时间:
2016-08-22 21:47:24
阅读次数:
146
给出一个字符串数组S,找到其中所有的乱序字符串(Anagram)。如果一个字符串是乱序字符串,那么他存在一个字母集合相同,但顺序不同的字符串也在S中。 注意事项 所有的字符串都只包含小写字母 给出一个字符串数组S,找到其中所有的乱序字符串(Anagram)。如果一个字符串是乱序字符串,那么他存在一个 ...
分类:
其他好文 时间:
2016-08-20 16:04:05
阅读次数:
155