摘要:
// 求a b 两个字符串的编辑距离 // a b // 0 1 // a 0 // b 1 // c 2 int calTwoStr(string a, string b){ int aSize = a.length(); int bSize = b.length(); int dp[bSize] 阅读全文
摘要:
def quick_sort(array, left, right): if left >= right: return low = left high = right key = array[low] while left < right: while left < right and array 阅读全文