((0 to b.size).toList/:a)((p,x)=>(p zip p.tail zip b).scanLeft(p.head+1){case(h,((d,v),y))=>Seq(h+1,v+1,d+(if (x==y) 0 else 1)).min}) last
7:48 AM - 28 Nov 2011
0 replies
2 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.