码迷,mamicode.com
首页 >  
搜索关键字:permutations ii    ( 7008个结果
Leetcode 贪心 Jump Game II
Jump Game II  Total Accepted: 16242 Total Submissions: 65802My Submissions Given an array of non-negative integers, you are initially positioned at the first index of the array. Each elem...
分类:其他好文   时间:2014-09-10 01:38:59    阅读次数:227
Leetcode dfs Path SumII
Path Sum II  Total Accepted: 18489 Total Submissions: 68323My Submissions Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For exampl...
分类:其他好文   时间:2014-09-10 01:38:49    阅读次数:223
Leetcode dfs Word Break II
Word Break II  Total Accepted: 15138 Total Submissions: 92228My Submissions Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a va...
分类:其他好文   时间:2014-09-10 00:30:09    阅读次数:221
Populating Next Right Pointers in Each Node II <leetcode>
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:其他好文   时间:2014-09-09 19:57:29    阅读次数:237
LeetCode Solutions : Reverse Linked List II
Reverse Linked List II  Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note...
分类:其他好文   时间:2014-09-09 18:23:49    阅读次数:222
HDU 3081 Marriage Match II【并查集+二分图最大匹配】
大意:有n个男孩n个女孩,告诉你每个女孩喜欢哪些男孩,又告诉你女孩之间的存在一些朋友关系一个女孩可以和她喜欢的男孩结婚也可以和她朋友喜欢的男孩结婚, 并且朋友关系可以传递Once every girl finds their boyfriends they will start a new roun...
分类:其他好文   时间:2014-09-09 17:51:29    阅读次数:187
Leetcode--permutations II
Problem Description: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the following unique permutations: [1,1,2...
分类:其他好文   时间:2014-09-09 16:17:29    阅读次数:200
单位dB(分贝)的含义和好处,dBm(dBmW 分贝毫瓦)的含义
dB的含义 单位dB,即分贝,在电子学等领域中是一个很常用的单位。这个单位的特点在于使用对数,对原始数据进行表示。 1贝 = 10分贝 = 10dB = 10倍功率 对于一个放大器, 功率放大倍数 Ap = 10 lg(Po/Pi) 电压放大倍数 Au = 20 lg(Uo/Ui) 电流放大倍数 Ai = 20 lg(Io/Ii) 例如:放大器放大倍率...
分类:数据库   时间:2014-09-09 16:07:09    阅读次数:351
Pascal's Triangle II <leetcode>
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onlyO(...
分类:其他好文   时间:2014-09-09 15:07:48    阅读次数:167
Best Time to Buy and Sell Stock II
[leetcode]Best Time to Buy and Sell Stock II...
分类:其他好文   时间:2014-09-09 13:30:48    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!