问题描述:Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are t...
分类:
编程语言 时间:
2015-04-25 14:54:15
阅读次数:
167
问题描述:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a si...
分类:
编程语言 时间:
2015-04-25 13:37:32
阅读次数:
129
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 endpo...
分类:
其他好文 时间:
2015-04-25 01:41:00
阅读次数:
133
题目如下: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 ...
分类:
其他好文 时间:
2015-04-25 00:11:21
阅读次数:
130
Given two numbers represented as strings, return multiplication of the numbers as a string.
Note: The numbers can be arbitrarily large and are non-negative.
给定两个字符串表示的数,要求求这两个数的乘积,乘积用字符串表示。其中,字符串表...
分类:
其他好文 时间:
2015-04-24 22:47:50
阅读次数:
148
原题:You are given two linked lists representing two non-negative numbers.The digits are stored in reverse order and each of their nodes contain a singl...
分类:
编程语言 时间:
2015-04-24 22:43:07
阅读次数:
186
题目描述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 maximum jump length at that position.Determine if you...
分类:
其他好文 时间:
2015-04-24 21:14:14
阅读次数:
171
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:
其他好文 时间:
2015-04-23 23:27:06
阅读次数:
138
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
编程语言 时间:
2015-04-23 22:54:56
阅读次数:
140
题目:
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it ...
分类:
其他好文 时间:
2015-04-23 21:50:12
阅读次数:
155