摘要: Levenshtein算法Levenshtein算法定义及算法原理见这篇文章:一个快速、高效的Levenshtein算法实现JavaScript实现function levenshteinDistance(s,t){ if(s.length>t.length){ var temp=s; s=t; t=temp; delete temp; } var n=s.length; var m=t.length; if(m==0){ return n; } else if(n==0){ ... 阅读全文
posted @ 2012-04-15 20:58 artwl 阅读(1065) 评论(2) 推荐(3) 编辑
摘要: 今早在https://attachments.me/hirehack/public/computer.html做题,有一题是递归求嵌套数组中最大值:/*This challenge requires that, given as input an array which may contain: - integer values. - inner-arrays of integer values. - any recursive combination thereof. Return the largest value contained in the array or any of its 阅读全文
posted @ 2012-04-15 10:30 artwl 阅读(989) 评论(2) 推荐(0) 编辑

个人简介

var ME = {
	"name": "土豆/Artwl",
	"job": "coding",
	"languages": [
		"JS", "HTML",
                "CSS", "jQuery"
		"MVC",".NET",
		"设计模式"
	],
	"hobby": [
		"阅读", "旅游",
		"音乐", "电影"
	]
}
TOP