原题链接:https://leetcode.com/problems/number-of-islands/题意描述:Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is...
分类:
其他好文 时间:
2015-04-08 21:09:58
阅读次数:
131
juniperDOS分类一、网络dos1.SYN泛滥利用三次握手进行欺骗攻击A向B发送SYN片段,B用SYN/ACK片段进行响应,A又用ACK片段响应。此种A发送的SYN片段中带有的源ip是不可达的地址,因此B发送的回应就会超时,如此就形成了SYN泛滥攻击,就会将主机内存缓冲区填满,主机将不能处理新的..
分类:
其他好文 时间:
2015-04-08 20:01:03
阅读次数:
164
varchar2(size)变长字符型(最大字符)nvarchar2(size)变长unicode字符型(最大字符)char(size)字长字符型(最大字符)number(p,s)数值型(p为长度最大,s为小数点后的位数-~)data日期型clob字符型,用于在数据库中存储单字节的大数据对象,最大4...
分类:
数据库 时间:
2015-04-08 19:28:14
阅读次数:
128
Related to question Excel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A...
分类:
其他好文 时间:
2015-04-08 19:27:35
阅读次数:
123
smarty模板里面需要用到一些他的内建函数,还有一些我们需要自定义的函数。
如:config_load file,smarty.server.SERVER_NAME等。
还有一些自定义函数:要我们利用最基本的结构自己去构建。
如下所示:
内建函数
====
10}>
This is a number > 10
This is a nu...
分类:
其他好文 时间:
2015-04-08 18:18:25
阅读次数:
117
Little penguin Polo likes permutations. But most of all he likes permutations of integers from 0 to n, inclusive.For permutation p?=?p0,?p1,?…,?pn, Polo has defined its beauty — number .Expression mean...
分类:
其他好文 时间:
2015-04-08 18:08:05
阅读次数:
144
项目业务需要,给每组记录编号,方便在行转列时,正对每个人定位到具体某行;SQL Server 2005后之后,引入了row_number()函数,row_number()函数的分组排序功能使这种操作变得非常简单。...
分类:
数据库 时间:
2015-04-08 18:06:40
阅读次数:
202
在SQL Server 中有四大排名函数分别是:1、row_number()2、ntile()3、rank()4、dense_rank()-------------------------------------------------------------------------为了方便演示我们...
分类:
数据库 时间:
2015-04-08 17:56:31
阅读次数:
185
Determine whether an integer is a palindrome. Do this without extra space.
检测当前数字是否是回文数字,同时不能增加额外的内存空间,这里一个注意的点就是 负数 都不可能是回文数字
然后是检测出来每一位数字进行比较
代码还是写得比较繁琐,主要的一个点就是数字的位数是基数位和偶数位的时候处理的过程是不同的
c...
分类:
其他好文 时间:
2015-04-08 16:37:01
阅读次数:
115
Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent ...
分类:
其他好文 时间:
2015-04-08 14:31:36
阅读次数:
122