Calculating the similarity of two lists

前端 未结 6 1426
野趣味
野趣味 2020-12-24 03:55

I have two lists:

eg. a = [1,8,3,9,4,9,3,8,1,2,3] and b = [1,8,1,3,9,4,9,3,8,1,2,3]

Both contain ints. There is no meaning behind the ints (eg. 1 is not \'cl

6条回答
  •  渐次进展
    2020-12-24 04:09

    Just use the same algorithm for calculating edit distance on strings if the values don't have any particular meaning.

提交回复
热议问题