题意翻译 给你一个数字,将其“四舍六入”,末尾为5舍去或进位都可,求最终的数字。 题目描述 Vasya has a non-negative integer n n n . He wants to round it to nearest integer, which ends up with 0 0 ...
分类:
其他好文 时间:
2018-02-24 13:13:13
阅读次数:
174
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 ...
分类:
其他好文 时间:
2018-02-24 10:46:05
阅读次数:
174
https://leetcode.com/problems/add-two-numbers/description/You are given two non-empty linked lists representing two non-negative integers.The digits a... ...
分类:
其他好文 时间:
2018-02-23 13:20:41
阅读次数:
169
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-02-21 13:47:45
阅读次数:
188
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-02-19 13:48:33
阅读次数:
193
Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2 = c. Example 1: Input: 5 Output: True E ...
分类:
其他好文 时间:
2018-02-15 10:28:38
阅读次数:
192
Given a list, rotate the list to the right by k places, where k is non-negative. Example: Tips:右移结点,过程如下: k=2,右移两次: ①5->1->2->3->4 ②4->5->1->2->3 思路:( ...
分类:
其他好文 时间:
2018-02-14 16:43:45
阅读次数:
222
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-02-12 23:42:23
阅读次数:
334
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 < 1... ...
分类:
其他好文 时间:
2018-02-12 23:41:41
阅读次数:
420
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... ...
分类:
其他好文 时间:
2018-02-12 23:40:27
阅读次数:
232