码迷,mamicode.com
首页 >  
搜索关键字:unique    ( 4837个结果
Unique Paths I&&II
Unique PathsA robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right a...
分类:其他好文   时间:2014-10-06 22:05:10    阅读次数:287
Leetcode: Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each numb...
分类:其他好文   时间:2014-10-06 13:41:10    阅读次数:154
Leetcode:unique_binary_search_trees
给定数n,问有多少种不同的BST(二叉搜索树)...
分类:其他好文   时间:2014-10-06 01:31:09    阅读次数:341
mysql优化技巧
mysql 数据库优化包括a.表的设计合理化(符合3NF)b.添加适当索引(index[4种:普通索引 主键索引 唯一索引unique 全文索引])c.分表技术(水平分割,垂直分割)d.读写[写:update/delete/add]分离e.存储过程[模块化编程 可以提高速度]数据库的三层结构 ora...
分类:数据库   时间:2014-10-05 23:26:39    阅读次数:329
4Sum_leetCode
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note: Elements ...
分类:其他好文   时间:2014-10-05 19:14:28    阅读次数:173
Combination Sum I&&II
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他好文   时间:2014-10-05 16:48:38    阅读次数:193
LeetCode-3Sum
题目:Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Ele...
分类:其他好文   时间:2014-10-03 01:34:13    阅读次数:480
Longest Palindromic Substring
[leetcode]Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring....
分类:其他好文   时间:2014-10-02 13:30:42    阅读次数:217
[LeetCode] Longest Palindrome Substring 详细分析
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 面DP题的考官都是神经病。。(吐...
分类:其他好文   时间:2014-10-01 13:15:31    阅读次数:242
STL源码剖析——STL算法之remove删除算法
本文介绍的STL算法中的remove删除算法,源码中介绍了函数remove、remove_copy、remove_if、remove_copy_if、unique、unique_copy。并对这些函数的源码进行详细的剖析,并适当给出使用例子。...
分类:其他好文   时间:2014-09-30 22:59:30    阅读次数:351
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!