http://oj.leetcode.com/problems/edit-distance/class Solution: # @return an
integer def minDistance(self, word1, word2): len1 = len(word1)...
分类:
编程语言 时间:
2014-05-09 04:19:03
阅读次数:
407
1 public class T008 { 2 public static void
main(String[] args) { 3 int[] num = { 3, 4, 5, 1, 2 }; 4
System.out.println(min(num, 5...
分类:
编程语言 时间:
2014-05-09 04:12:47
阅读次数:
326
1.循环 1 public class T009 { 2 public static void
main(String[] args){ 3 System.out.println(fibonacci(3)); 4 } 5 public static
long ...
分类:
编程语言 时间:
2014-05-09 03:58:09
阅读次数:
270
1、Ubuntu12.04 安装nginx+php+mysql
(lnmp)的web服务器环境http://blog.db89.org/ubuntu12-04-install-nginx-php-mysql-lnmp-of-the-web-server-environment/2、Ubuntu
12...
分类:
数据库 时间:
2014-05-09 03:57:10
阅读次数:
308
public class Factory {private static Properties
props = new Properties();static{InputStream ips =
Factory.class.getClassLoader().getResourceAsStream("...
分类:
其他好文 时间:
2014-05-09 03:55:41
阅读次数:
243
先看一段代码(PHP例子)1、表单代码(form.php):[php] view
plaincopy 2、action代码(formAction.php):[php] view plaincopy
分类:
其他好文 时间:
2014-05-09 03:42:09
阅读次数:
288
将Datatable转化为Json数据形式#region
方法[DataTableToJson]DataTable转化为Json形式 public static string
DataTableToJson(string jsonName, DataTable dt) {...
分类:
Web程序 时间:
2014-05-09 03:09:59
阅读次数:
298
使用php写的,方便点 $LOG"; `$cmd`; _debug($cmd); //
再使用goaccess生成网页 $cmd = "/usr/local/bin/goaccess -f $LOG -a >
/yfdata/mobile/$HTML"; `$cmd`;...
分类:
数据库 时间:
2014-05-09 02:56:20
阅读次数:
371
不久前,byvoid面阿里星计划的面试结果截图泄漏,引起无数IT屌丝的羡慕敬仰。看看这些牛人,NOI金牌,开源社区名人,三年级开始写Basic...在跪拜之余我们不禁要想,和这些牛人比,作为绝大部分技术屌丝的同学们,是否真的与国内IT巨头遥不可及呢?当你打开这个帖子的时候,我已经默认你是此文的目标读...
分类:
Web程序 时间:
2014-05-09 00:05:24
阅读次数:
595