码迷,mamicode.com
首页 >  
搜索关键字:combination sum ii    ( 27716个结果
Maximum Subarray
题目 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,?1,2,1,?5,4], the contiguous subarray [4,...
分类:其他好文   时间:2014-06-19 12:08:20    阅读次数:270
Jump Game II
题目 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. ...
分类:其他好文   时间:2014-06-19 11:46:47    阅读次数:277
[leetcode]Remove Duplicates from Sorted List II @ Python
原题地址:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/题意:Given a sorted linked list, delete all nodes that have duplicate number...
分类:编程语言   时间:2014-06-16 10:40:35    阅读次数:340
[leetcode]Search in Rotated Sorted Array II @ Python
原题地址:https://oj.leetcode.com/problems/search-in-rotated-sorted-array-ii/题意:Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed...
分类:编程语言   时间:2014-06-16 08:20:54    阅读次数:307
【Leetcode】Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either down or right at...
分类:其他好文   时间:2014-06-13 20:36:56    阅读次数:280
采用流水线技术实现8位加法器
说明 本文基于FPGA和CPLD器件,采用非流水线和流水线技术实现8位加法器,并对比其Quartus II仿真结果和波形时序。 器件选择: Stratix:EP1S40F1020C5(FPGA) MAX7000S:EPM7064SLC44-5(CPLD)实验一 FPGA实现8位加法器 程序...
分类:其他好文   时间:2014-06-13 20:12:24    阅读次数:572
LeetCode OJ--Permutations II
给的一个数列中,可能存在重复的数,比如 1 1 2 ,求其全排列。记录上一个得出来的排列,看这个排列和上一个是否相同。#include #include #include using namespace std; class Solution{public: vector > permuteU...
分类:其他好文   时间:2014-06-13 17:53:39    阅读次数:280
Leetcode:Path Sum 二叉树路径和
Path Sum:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the giv...
分类:其他好文   时间:2014-06-13 16:09:02    阅读次数:237
Leetcode:Reverse Linked List II 反转链表区间
Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m= 2 andn= 4,retu...
分类:其他好文   时间:2014-06-12 07:03:54    阅读次数:308
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!