Monday, September 29, 2008

请问一道google面试题(zz)

发信人: justcome (ANewOne), 信区: JobHunting
标 题: 请问一道google面试题
发信站: BBS 未名空间站 (Sun Sep 28 14:16:57 2008), 转信

不是很明白如何实现?edit distance?

Given a source word, a target word, and a dictionary, how to transform the
source word into target word by changing only one letter in each step. The
word you get in each step must be in the dictionary.


发信人: briteguy (briteguy), 信区: JobHunting
标 题: Re: 请问一道google面试题
发信站: BBS 未名空间站 (Sun Sep 28 14:57:24 2008)

levenstein distance

It is for search engine to come up with did-you-mean type of suggestions.

Google is a search company, no wonder they asked this type of question.

No comments: