码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
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 ...
分类:其他好文   时间:2019-11-03 12:24:14    阅读次数:83
89. Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total num ...
分类:其他好文   时间:2019-10-29 23:30:23    阅读次数:107
119. Pascal's Triangle II
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian ...
分类:其他好文   时间:2019-10-27 00:59:59    阅读次数:105
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. ...
分类:其他好文   时间:2019-10-26 14:57:10    阅读次数:55
PTA (Advanced Level)1005.Spell It Right
Given a non negative integer N , your task is to compute the sum of all the digits of N , and output every digit of the sum in English. Input Specific ...
分类:其他好文   时间:2019-10-20 10:57:44    阅读次数:75
LeetCode开心刷题五十一天——118. Pascal's Triangle 接触跳转表概念,不知用处 lamda逗号导致表达式加法奇怪不理解119. Pascal's Triangle II
118. Pascal's Triangle Easy 87984FavoriteShare 118. Pascal's Triangle Easy 87984FavoriteShare Easy Given a non-negative integer numRows, generate the ...
分类:其他好文   时间:2019-10-17 22:06:16    阅读次数:89
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 endp ...
分类:其他好文   时间:2019-10-16 21:41:10    阅读次数:75
61. Rotate List
题目描述 Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Example 2: 参考答案 答案分析 分成三部分: 1. 链接首尾 2. 移动 3. 拆 ...
分类:其他好文   时间:2019-10-08 20:32:23    阅读次数:99
922. Sort Array By Parity II
/** * 922. Sort Array By Parity II *https://leetcode.com/problems/sort-array-by-parity-ii/description/ * * Given an array A of non-negative integers, ... ...
分类:其他好文   时间:2019-10-08 20:28:23    阅读次数:98
LeetCode_119. Pascal's Triangle II
119. Pascal's Triangle II Easy Easy Easy Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the r ...
分类:其他好文   时间:2019-10-05 10:59:45    阅读次数:95
2271条   上一页 1 ... 8 9 10 11 12 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!