码迷,mamicode.com
首页 >  
搜索关键字:union all    ( 25526个结果
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
leetcode--Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-06-10 12:06:09    阅读次数:205
iOS开发UI篇—Quartz2D简单使用
iOS开发UI篇—Quartz2D简单使用一、画直线代码: 1 // 2 // YYlineview.m 3 // 03-画直线 4 // 5 // Created by apple on 14-6-9. 6 // Copyright (c) 2014年 itcase. All rights...
分类:移动开发   时间:2014-06-10 11:20:35    阅读次数:360
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
projecteuler---->problem=24----Lexicographic permutations
问题描述: A permutation is an ordered arrangement of objects. For example, 3124 is one possible permutation of the digits 1, 2, 3 and 4. If all of the permutations are listed numerically or alphabeti...
分类:其他好文   时间:2014-06-10 06:13:21    阅读次数:299
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!