码迷,mamicode.com
首页 >  
搜索关键字:distinct    ( 3361个结果
LeetCode --- 70. Climbing Stairs
题目链接:Climbing Stairs You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 这道题的要求是爬n阶...
分类:其他好文   时间:2015-03-20 00:07:14    阅读次数:110
数据检索,top,Distinct去除重复记录
--数据检索--语法:--select 字段列表/* from 表列表 where 条件----查询所有学员信息select * from student--带条件的查询select * from Student where Sex='女'select * from Student where Se...
分类:其他好文   时间:2015-03-19 23:48:25    阅读次数:148
Subsets
https://leetcode.com/problems/subsets/Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descend...
分类:其他好文   时间:2015-03-19 21:53:20    阅读次数:167
Climbing Stairs
You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you cli...
分类:其他好文   时间:2015-03-19 21:36:08    阅读次数:111
LeetCode – Refresh – Distinct Subsequences
This DP is a little bit tricky. You need to clear that:when S[i-1] == T[j-1], it has two part :1. dp[i-1][j-1], this means from 0 - j-1, it already ma...
分类:其他好文   时间:2015-03-19 08:50:24    阅读次数:147
DFS解法的两道题 Leetcode 46 Permutations & Leetcode 78 Subset
Leetcode 78 SubsetGiven a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The soluti...
分类:其他好文   时间:2015-03-17 11:47:34    阅读次数:165
leetcode------Subsets
标题:Subsets通过率:28.2%难度:中等Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The ...
分类:其他好文   时间:2015-03-16 16:20:18    阅读次数:82
[Leetcode]Climbing Stairs
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他好文   时间:2015-03-15 22:56:18    阅读次数:131
mongodb文档 aggregate章节阅读的笔记
aggregate 包含3中不同的类型: 1.管道 2.单一功能聚合 ? (count,group,distinct) 3.map-reduce 管道表达式 管道表达式仅能操作当前在管道中的文档,不能代表其他的文档. 通常,表达式是没有状态的,并且...
分类:数据库   时间:2015-03-15 20:00:18    阅读次数:170
sql学习总结(3)——SQL单表查询技术
基本格式:select [all | distinct] select_listfrom table_list/view_list[where conditions][group by group_list][having conditions][order by order_list]例:sele...
分类:数据库   时间:2015-03-15 13:38:17    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!