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
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
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
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
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
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
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
题目描述 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 *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
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