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 maxim ...
分类:
其他好文 时间:
2018-07-01 19:29:48
阅读次数:
136
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 使用if 判断绕过重复的while循环。 ...
分类:
其他好文 时间:
2018-06-28 22:59:58
阅读次数:
320
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 ...
分类:
其他好文 时间:
2018-06-24 13:08:54
阅读次数:
176
leetcode_11. Container With Most Water 一,问题: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n ver ...
分类:
其他好文 时间:
2018-06-21 00:13:05
阅读次数:
182
66_Plus One [TOC] Description Given a non empty array of digits representing a non negative integer, plus one to the integer. The digits are stored su ...
分类:
其他好文 时间:
2018-06-17 12:29:13
阅读次数:
175
问题描述: Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. Example 1: Example 2: Exa ...
分类:
其他好文 时间:
2018-06-17 11:08:01
阅读次数:
180
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 ...
分类:
其他好文 时间:
2018-06-14 01:09:10
阅读次数:
203
问题描述: 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 ...
分类:
其他好文 时间:
2018-06-11 10:59:20
阅读次数:
180
描述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 n ...
分类:
编程语言 时间:
2018-06-11 01:59:16
阅读次数:
175
描述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->nullptr and k = 2, return 4->5->1- ...
分类:
编程语言 时间:
2018-06-09 22:07:25
阅读次数:
132