《数据结构题集》2.12

核心代码: int common_prefix(List LA,List LB) //找到最大前缀的下标 int compare(List LA,List LB,int prefix) //然后进行比较 int common_prefix(List LA,List LB) { int i; int j = 0; int length; length = ( LA.length - LB.
相关文章
相关标签/搜索