2018年1月21日

edit distance(编辑距离,两个字符串之间相似性的问题)

摘要: Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have 阅读全文

posted @ 2018-01-21 16:04 夜的第八章 阅读(158) 评论(0) 推荐(0) 编辑

trapping rain water

摘要: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文

posted @ 2018-01-21 11:45 夜的第八章 阅读(134) 评论(0) 推荐(0) 编辑

导航