码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
leetcode problem 11 Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:其他好文   时间:2015-04-17 18:05:48    阅读次数:104
leetcode------Rotate List
标题:Rotate List通过率:21.8%难度:中等Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,ret...
分类:其他好文   时间:2015-04-17 13:01:12    阅读次数:94
LeetCode-Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-04-17 07:06:41    阅读次数:136
【leetcode】 Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-04-16 23:33:54    阅读次数:119
Leetcode: Container With Most Water
题目: Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find tw...
分类:其他好文   时间:2015-04-16 21:59:36    阅读次数:114
hdu 4747 线段树
http://acm.hdu.edu.cn/showproblem.php?pid=4747 Problem Description Mex is a function on a set of integers, which is universally used for impartial game theorem. For a non-negative integer set ...
分类:其他好文   时间:2015-04-16 21:52:59    阅读次数:130
Add two Numbers
Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co...
分类:其他好文   时间:2015-04-16 19:34:28    阅读次数:170
[LeetCode] Add Two Numbers
Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers ...
分类:其他好文   时间:2015-04-15 13:39:11    阅读次数:164
2. Add Two Numbers
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sing...
分类:其他好文   时间:2015-04-15 12:53:30    阅读次数:206
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...
分类:其他好文   时间:2015-04-14 21:34:01    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!