题目: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,...
分类:
其他好文 时间:
2015-05-19 12:43:50
阅读次数:
132
1、创建视图 1 array('id'=>'cid','title'=>'ctitle','alias'=>'calias','published'=>'cpublished','order'=>'corder','access'=>'caccess','sectionid'),10 ...
分类:
其他好文 时间:
2015-05-19 12:34:58
阅读次数:
97
用.htaccess 禁止某IP访问Order Allow,DenyAllow from allDeny from 1.1.1.1 2.2.2.2 3.3.3.3允许所有,禁止xxxx,请将里面的IP改成你要封杀的IP地址。并另存为.htaccess,上传到网站根目录。禁止IP段Order Al.....
分类:
数据库 时间:
2015-05-19 12:26:24
阅读次数:
142
既然说了从头开始,先从注入开始吧,先来温习一下之前会的一些注入。PHP注入0x01:判断是否存在注入:' 报错 ' and 1=1 正确' and 1=2 错误0x01:order by X X表示整数,判断数据库共有多少个字段' and 1=2 union select 1,2,3......
分类:
数据库 时间:
2015-05-19 00:35:04
阅读次数:
164
Given a set of distinct integers, nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must no...
分类:
编程语言 时间:
2015-05-19 00:31:27
阅读次数:
141
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a l...
分类:
其他好文 时间:
2015-05-18 21:18:42
阅读次数:
106
Problem:
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates...
分类:
编程语言 时间:
2015-05-18 20:48:43
阅读次数:
122
今天在处理SQL的时候遇到几个问题:1、如果指定了 SELECT DISTINCT,那么 ORDER BY 子句中的项就必须出现在选择列表中select distinct id from 收费站 order by name // 错误改成:select distinct id, name from....
分类:
数据库 时间:
2015-05-18 20:40:20
阅读次数:
152
参考资料维基百科:http://zh.wikipedia.org/wiki/%E5%AD%97%E8%8A%82%E5%BA%8F术语定义 Byte Endian :字节序,是指字节在内存中的组织顺序,所以也称为Byte Ordering或Byte Order。 Big Endian :大端模式,是...
分类:
其他好文 时间:
2015-05-18 20:12:05
阅读次数:
133
题目描述You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers...
分类:
其他好文 时间:
2015-05-18 18:57:11
阅读次数:
119