题目
Write a function to find the longest common prefix string amongst an array of strings.
方法
从第一个字符开始,判断是否相同。
public String longestCommonPrefix(String[] strs) {
if (strs ...
分类:
其他好文 时间:
2014-06-18 11:18:30
阅读次数:
205
Code/** * Created by LT on 2013/6/16. * Common.js * 对原生JS对象的扩展 * Object、Array、String、Date、Ajax、Cookie */;(function(){Object.extend =function(targetObj...
分类:
Web程序 时间:
2014-06-18 09:39:16
阅读次数:
312
spring-mybatis-data-common-2.0新增分表机制,在1.0基础上做了部分调整.基于机架展示分库应用数据库分表实力创建create table tb_example_1( id bigint primary key auto_increment , eId bigint, .....
分类:
编程语言 时间:
2014-06-18 00:07:38
阅读次数:
317
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace WebBuild_CRM.Common{ public class Excep...
分类:
其他好文 时间:
2014-06-17 19:57:12
阅读次数:
250
??
A class diagram
shows a set of classes, interfaces, and collaborations and their relationships. These diagrams are the most common diagram found in modeling object-oriented systems. Class diagram...
分类:
其他好文 时间:
2014-06-17 19:28:33
阅读次数:
261
??
Common Divisions
In modeling object-oriented systems, the world often gets divided in several ways.
First, there is the division of class and object. A class is an abstraction; an object is one ...
分类:
其他好文 时间:
2014-06-17 16:25:38
阅读次数:
322
最近弄了一个上传,要求实现页面的局部刷新,Java的上传组件大多还是用的commons-fileupload,网上搜索了好多的教程,太麻烦了,看到了ajaxfileupload这个插件,不错,实现简单,功能好首先,导入需要导入的包以下是我测试项目时用到的包js包ajaxfileupload.jsjq...
分类:
其他好文 时间:
2014-06-17 13:34:02
阅读次数:
220
地道
Time Limit(Common/Java):1000MS/3000MS Memory Limit:65536KByte
Total Submit:289 Accepted:60
Description
话说南京的城市规划一般一般,各个大学分布极不合理,难于沟通。
我们夜猫族打算用一种常人难以想象的方式建立大学通道:用地道使...
分类:
其他好文 时间:
2014-06-16 23:04:13
阅读次数:
303
工作组为Tarena将目录/usr/src共享给所有人共享名设为tools允许所有人访问、无需密码验证访问权限为只读1、安装软件包[root@localhost~]#rpm-qsamba-clientsambasamba-common//查看软件是否安装packagesamba-clientisnotinstalledpackagesambaisnotinstalledpackagesamba-commo..
分类:
其他好文 时间:
2014-06-16 18:30:07
阅读次数:
211
实验拓扑:LinuxClient-----RHEL5.9(vmnet1)----------(vmnet1)Win7Client实验一:Samba匿名共享工作组为Tarena将目录/usr/src共享给所有人共享名设为tools允许所有人访问、无需密码验证访问权限为只读1、安装软件包[root@localhost~]#rpm-qsamba-clientsambasamba-common/..
分类:
系统相关 时间:
2014-06-16 16:07:19
阅读次数:
384