作者eight0 (一直到今天)
站内Prob_Solve
标题Re: [问题] Google Interview Question (1)
时间Mon May 13 10:45:08 2013
稍微试了一下
只要抓A的前两个字元、B的前两个字元、C的前两个字元来比对就行了
http://jsfiddle.net/h73Fr/1/
里面的测资from讨论串推文
--
(* ̄▽ ̄)/‧★*"`'*-.,_,.-*'`"*-.,_☆,.-*`
http://i.imgur.com/oAd97.png
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 111.250.54.111
1F:推 LPH66:aa ab abaa 05/13 23:10
2F:→ LPH66:奇的是 ab aa abaa 却有正确答案...你的演算法显然有些问题 05/13 23:11
4F:→ eight0:下篇我写一下我的想法 05/13 23:41