Redian新闻
>
zz 史上最难“连连看”游戏:“韩国小姐”登录iOS
avatar
zz 史上最难“连连看”游戏:“韩国小姐”登录iOS# Joke - 肚皮舞运动
x*h
1
题目是Given a dictionary,design an algorithm to find the optimal way of "
unconcatenating" a sequence of words. "optimal" is defined to be the
parsing which minimizes the number of unrecognized sequences of characters.
比如:
“jesslookedjustliketimeherbrother”
->"JESS looked just like TIM her brother" 在这里JESS和TIM是没有被识别的
前面解释看懂了,但是看不懂implement的那段code,有没有做过的人指点一下啊?
wordStart,wordEnd指的是什么啊,初始值是0,0?
还有bestExact,和bestExtend具体指的什么部分呢?
非常感谢!
avatar
x*h
3
up
avatar
a*s
4
这太难了
而且看多了,还有密集棒子小姐恐惧症
avatar
c*t
5
尼玛本来想按头发找,结果有几个连发型也很像
avatar
l*x
6
换成之前连之后的会不会更难。
avatar
b*u
7
更容易吧?

【在 l*x 的大作中提到】
: 换成之前连之后的会不会更难。
avatar
y*g
9
假的吧?这么明显侵犯版权的,app store也给上?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。