摘要: //获取两个字符的距离 function getDis(s1,s2) { var n=s1.length,m=s2.length;//长度 var n1=0,n2=0;//扫描点 let dis=0; //开始扫描 while (n1<n&&n2<m){ //相等 if(s1[n1] s2[n2]) 阅读全文
posted @ 2020-09-23 11:45 无工时代 阅读(162) 评论(0) 推荐(0) 编辑