Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string's permutati ...
分类:
其他好文 时间:
2017-04-30 18:38:16
阅读次数:
156
Minimum Inversion Number Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 1 Accepted Submission(s) ...
分类:
其他好文 时间:
2017-04-30 16:14:22
阅读次数:
221
一、嵌套类 使用嵌套类减少了命名冲突,一个内部类可以定义在一个类中,一个方法中甚至一个表达式中。 (1)定义:A nested(嵌套) class is any class whose declaration occurs within the body of another class or in ...
分类:
编程语言 时间:
2017-04-30 14:04:23
阅读次数:
180
Climbing Worm Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 12116 Accepted Submission(s): 8149 ...
分类:
其他好文 时间:
2017-04-30 12:40:01
阅读次数:
226
传送门 Description Daniel has a string s, consisting of lowercase English letters and period signs (characters '.'). Let's define the operation of replac ...
分类:
其他好文 时间:
2017-04-30 01:07:36
阅读次数:
290
Description Gigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance. It orders two a ...
分类:
其他好文 时间:
2017-04-30 01:02:20
阅读次数:
233
Linux下的文件或目录权限详解 1.1 权限介绍 1、linux下的文件或目录权限是由9个权限来控制的,每三位为一组,即文件属主(owner=主人=用户)的r、w、x;用户组(group=同组的=家人)的r、w、x;其他的人(other=外人=不在同一组)的r、w、x; 2、权限分组说明 3、r= ...
分类:
系统相关 时间:
2017-04-29 23:23:47
阅读次数:
265
Lowest Common Ancestor of a Binary Tree Total Accepted: 1628 Total Submissions: 5660 Given a binary tree, find the lowest common ancestor (LCA) of two ...
分类:
其他好文 时间:
2017-04-29 13:46:28
阅读次数:
145
Problem Description A number of rectangular posters, photographs and other pictures of the same shape are pasted on a wall. Their sides are all vertic ...
分类:
其他好文 时间:
2017-04-29 12:58:03
阅读次数:
210
一、Microsoft Excel 1 Microsoft ACE OLEDB 12.0 1.1 Xlsx files Connect to Excel 2007 (and later) files with the Xlsx file extension. That is the Office O ...
分类:
数据库 时间:
2017-04-29 11:57:14
阅读次数:
231