码迷,mamicode.com
首页 >  
搜索关键字:union all    ( 25526个结果
LeetCode: Generate Parentheses 题解
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:其他好文   时间:2014-06-18 11:15:22    阅读次数:149
css实现强制不换行/自动换行/强制换行
强制不换行 div{ white-space:nowrap; } 自动换行 div{ word-wrap: break-word; word-break: normal; } 强制英文单词断行 div{ word-break:break-all; } ========================...
分类:Web程序   时间:2014-06-18 10:47:41    阅读次数:274
制作linux内核安装包
升级linux内核直接在一个有编译环境的设备上,编译升级内核很简单。make menuconfig或者拷贝现有系统的.config文件修改.config文件 CONFIG_DEBUG_INFO=n (避免编译产生文件过大)make oldconfigmake all -j4make modules_...
分类:系统相关   时间:2014-06-18 10:38:30    阅读次数:287
Substring with Concatenation of All Words
leetcode中有好些题目是这一类型,即找出满足一定条件的字符串子串。有些只要返回一个结果,有些则要返回所有结果。这类题目大体有两个思路,一个是dfs,另一个则是直接遍历,记录遍历过程中的一些状态。此题采用后者,理解起来简单。 题目并没有说L中的字符串是否可以重复,因此认为是可能重复的。所以...
分类:其他好文   时间:2014-06-18 10:36:29    阅读次数:192
LeetCode: Permutations II 题解
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2014-06-18 09:33:28    阅读次数:181
Photoshop CS4 启动弹出许可协议
win7:删除1、C:\Users\All Users\FLEXnet\adobe_00080000_tsf.dataWinXP:(c:/DocumentsandSettings/AllUsers/ApplicationData/FLEXnet\adobe_00080000_tsf.data)2、C...
分类:其他好文   时间:2014-06-18 08:37:51    阅读次数:194
LeetCode:Remove Element
题目链接 Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn...
分类:其他好文   时间:2014-06-17 23:45:10    阅读次数:373
webqq 获得好友列表hash算法 获得最新hash的方法
webqq获得好友列表的hash算法,大约每个月中旬会变动一次。知道怎么获得他就可以了。 js文件路径 http://web.qstatic.com/webqqpic/pubapps/0/50/eqq.all.js 加密算法为 P=function(b,i),有时候是 P=function(b,j) 直接打开这个文件后搜索P=function,有两个参数的就是。 把函数体拷贝下来后百度 js格式化工具,把内容放进去,格式化一下。...
分类:Web程序   时间:2014-06-17 19:05:37    阅读次数:267
mysql---union的用法
union的作用很简单用来合并两条sql的结果集 语法: SQL1 UNION SQL2 现有一张价格表 要求:求出价格低于2000和价格高于3000的商品,不能用or和not between……and 思路:我们可以先求出低于2000的商品得到结果集1 再求出高于3000的商品得到结果集2 再利用union合并结果集1和结果集2 什么时候才允许使用union? ...
分类:数据库   时间:2014-06-17 16:34:36    阅读次数:268
linux bash shell学习笔记
Bash 开头#!/bin/bash。echo 语句屏蔽 “ ” 若使用则 \” \” 。 即使文件没有执行权限,仍然可以通过bashhello.sh 或者 sh hello.sh来执行文件。 标准输出写入>>文件中,标准错误输出默认为屏幕。标准错误输出为2>>。错误和输出都写入文件:1>>log 2>>err。两者都写入同一个文件:>&all_result,> ...
分类:系统相关   时间:2014-06-17 16:29:35    阅读次数:359
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!