码迷,mamicode.com
首页 >  
搜索关键字:show all    ( 41857个结果
Partition List
题目 Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the node...
分类:其他好文   时间:2014-06-11 06:28:41    阅读次数:364
每日算法之三十一:Combination Sum
给定一个整数序列,求解一个子序列,子序列之和等于给定目标值。子序列满足以下条件: 1)子序列是有序的 2)子序列的元素个数不限,可以是给定元素的重复元素。 3)结果中的子序列是唯一的 原题描述如下: Given a set of candidate numbers (C) and a target number (T), find all unique combinations ...
分类:其他好文   时间:2014-06-11 06:26:03    阅读次数:302
Remove Duplicates from Sorted List
题目 Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3. 方法 遍...
分类:其他好文   时间:2014-06-11 00:41:44    阅读次数:207
Maximal Rectangle
题目 Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. 方法 使用两个矩阵,分别记录每一行连续的1的个数以及每一列连续的1的个数。 public int maximalRec...
分类:其他好文   时间:2014-06-11 00:24:51    阅读次数:343
all about AIX MPIO
Multipath  I/O (多路径)   在计算机存储技术里,多路径提供了容错和性能提高,在计算机系统里CPU有多条物理路径通道,块存储设备通过总线,控制器,交换设备以及桥接设备来连接。     简单举例同一台计算机里1块SCSI磁盘连接2个SCSI控制器或者磁盘连接到两个FC端口。如果其中1个控制器,端口或交换设备故障,那操作系统就会自动切换I/O路径到冗余的控制器为应用程序使用,但...
分类:其他好文   时间:2014-06-10 14:57:54    阅读次数:465
jQuery 之 setTimeout 传递字符串参数报错
当你打算调用一些jQuery代码显示隐藏的一个元素,并调用setTimeout()在一段延时之后设置其HTML的内容: 整个页面的代码是这样的. show next yes,I am the next function showNext(text){ setTimeout("$('#log').show().text(text)",1000); } .show...
分类:Web程序   时间:2014-06-10 13:26:58    阅读次数:196
Leetcode:Anagrams 回文构词法
戳我去解题Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.Anagram(回文构词法)是指打乱字母顺序从而得到新的单词回文...
分类:其他好文   时间:2014-06-10 08:44:13    阅读次数:275
Leetcode:Permutations 排列
戳我去解题Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1...
分类:其他好文   时间:2014-06-10 08:42:11    阅读次数:184
master log 与relay log的关系
--master log 与relay log的关系-------------------------------2014/06/09Just to clarify, there are three sets of file/position coordinates in SHOW SLAVE ST...
分类:其他好文   时间:2014-06-10 08:31:57    阅读次数:196
Linux下MySQL5.6的修改字符集编码为UTF8
一、登录MySQL查看用SHOW VARIABLES LIKE ‘character%’;下字符集,显示如下: +--------------------------+----------------------------+ | Variable_name | Value | +---------...
分类:数据库   时间:2014-06-09 16:58:04    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!