Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:
其他好文 时间:
2014-06-27 12:46:45
阅读次数:
238
注释中address是纠正的意思 等价于correct/*!Pure v0.5.0Copyright 2014 Yahoo! Inc. All rights reserved.Licensed under the BSD License.https://github.com/yui/pure/blo...
分类:
Web程序 时间:
2014-06-27 12:44:58
阅读次数:
356
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatena...
分类:
其他好文 时间:
2014-06-27 12:44:16
阅读次数:
226
1、作用域public,private,protected,以及不写时的区别答:区别如下:作用域当前类同一package子类其他packagepublic√√√√protected√√√×friendly√√××private√×××不写时默认为friendly2、Annonymous Inner ...
分类:
编程语言 时间:
2014-06-27 12:43:40
阅读次数:
270
Given a linked list, swap every two adjacent nodes and return its head.
分类:
其他好文 时间:
2014-06-27 12:42:55
阅读次数:
198
步骤:1、创建一个Network2、创建VLAN创建VLAN的时候内部包含几个工作2.1、创建一个Vlan对象(图中的①)2.2、创建一个PIF(图中的②)连接之前新建的VLAN和新建的Network2.3、Vlan(图中的①)和PIF(图中的③)连接起来code:Network.Record ne...
分类:
其他好文 时间:
2014-06-27 12:42:16
阅读次数:
199
Reverse digits of an integer.
分类:
其他好文 时间:
2014-06-27 12:41:43
阅读次数:
211
Given an integer, convert it to a roman numeral.
分类:
其他好文 时间:
2014-06-27 12:41:06
阅读次数:
199
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font ...
分类:
其他好文 时间:
2014-06-27 12:40:25
阅读次数:
187
主题一 常用类库» 类库中常用的包Java类库中的类和接口大多封装在特定的包里,每个包具有自己的功能。[请点击查看更多内容转自CSDN博客XXX的专栏]» Object类的一些常用方法hashCode:public int hashCode()返回该对象的哈希码值。支持该方法是为哈希表提供一些优点,...
分类:
编程语言 时间:
2014-06-27 12:39:42
阅读次数:
218