有没有人知道如果存在给定一个字符串A和一个字符串B数组的算法,将A字符串与B中的所有字符串进行比较,给出输出中最相似的字符串.
对于"最相似的",我的意思是,例如,
如果A字符串是:"hello world你好吗"
然后
"asdf asdewr你好世界怎么asfrqr你"
比以下更相似:
"h2ll4 w1111 h11 111 111"
c c++ string algorithm comparison
algorithm ×1
c ×1
c++ ×1
comparison ×1
string ×1