题目链接 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k t...
分类:
其他好文 时间:
2014-06-28 21:12:46
阅读次数:
211
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.此题是求直线上点最多的点数,根据两点构成一条直线,在同一条直线上,任意两点之间的斜率都相同,故需要对每个点...
分类:
其他好文 时间:
2014-06-28 20:59:44
阅读次数:
132
1. 二进制和八进制表示法ES6提供了二进制和八进制数值的新的写法,分别用前缀0b和0o表示。0b111110111 === 503 // true0o767 === 503 // true八进制用0o前缀表示的方法,将要取代已经在ES5中被逐步淘汰的加前缀0的写法。2. Number.isFini...
分类:
其他好文 时间:
2014-06-21 12:29:40
阅读次数:
256
android开发过程中突然发现的warningEditText 报出 “This text field does not specify an inputType or a hint”原因:EditText需要指定默认输入类型加入android:inputType="number|phone",表...
分类:
移动开发 时间:
2014-06-21 11:20:23
阅读次数:
219
Longest Palindromic Substring:Given a stringS, find the longest palindromic substring inS.You may assume that the maximum length ofSis 1000, and there...
分类:
其他好文 时间:
2014-06-21 07:36:18
阅读次数:
227
Description:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesame...
分类:
其他好文 时间:
2014-06-21 06:55:48
阅读次数:
200
Letter Combinations of a Phone Number:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit...
分类:
移动开发 时间:
2014-06-21 00:56:16
阅读次数:
261
--小写数字转大写,只是单纯的将数字转换为大写了,还要加单位create or replace function chinese(number1 number) return varchar2 is Result varchar2(30):=' '; v_chinese varchar2(25).....
分类:
其他好文 时间:
2014-06-21 00:14:41
阅读次数:
199
#include #define NUMBER 6#define F_PATH "D:\\C_C++\\ec13-3\\hw.dat"typedef struct { char name[20]; int height; float weight;} student;void swap(studen...
分类:
编程语言 时间:
2014-06-21 00:08:26
阅读次数:
321
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeate...
分类:
其他好文 时间:
2014-06-20 23:37:29
阅读次数:
195