June 16, 2015
Problem statement:
72. Edit Distance
Code study:
One solution in Chinese, blog is here written by FightForYouDream.
Problem statement:
72. Edit Distance
Code study:
One solution in Chinese, blog is here written by FightForYouDream.
Stanford lecture note about edit distance, the pdf file is here.
Write down the feeling after the practice:
It is a two dimension dynamic programming. It took me a few hours to understand the algorithm. After a few month, I may totally forget the algorithm.
这个算法是2 dimensional dynamic programming. 读了好几个小时, 练习了代码, 理解了算法; 可能过几个月全忘了. 代码有一段容易出错,
Share the C# code, code is here.
Follow up
May 5, 2017
Review the algorithm after mocking experience on this algorithm in May 4, 2017.
No comments:
Post a Comment