码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
274. H-Index
Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher's h-index.According ... ...
分类:其他好文   时间:2017-02-12 18:38:20    阅读次数:168
A6:Add Digits
题目描述: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. 样例 Given num = 38. The process is like: 3 + ...
分类:其他好文   时间:2017-02-11 17:01:17    阅读次数:187
64. 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. ...
分类:其他好文   时间:2017-02-10 12:41:28    阅读次数:141
43. Multiply Strings
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2.Note:The length of both num1 and num2 is =0;... ...
分类:其他好文   时间:2017-02-09 15:30:20    阅读次数:260
[LeetCode] Predict the Winner 预测赢家
Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and t ...
分类:Windows程序   时间:2017-02-06 12:23:49    阅读次数:315
61. Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2->3- ...
分类:其他好文   时间:2017-02-04 10:41:40    阅读次数:167
LeetCode OJ 2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2017-02-03 16:53:18    阅读次数:152
352. Data Stream as Disjoint Interval
Given a data stream input of non-negative integers a1, a2, ..., an, ..., summarize the numbers seen so far as a list of disjoint intervals. For exampl ...
分类:其他好文   时间:2017-02-02 14:49:16    阅读次数:203
445. Add Two Numbers II
You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contai ...
分类:其他好文   时间:2017-01-31 10:29:09    阅读次数:226
(数组)Largest Rectangle in Histogram(栈解问题)
Largest Rectangle in Histogram Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area o ...
分类:编程语言   时间:2017-01-29 15:26:52    阅读次数:185
2271条   上一页 1 ... 72 73 74 75 76 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!