Permutation distance

1 · John Cook · Nov. 13, 2019, 6:16 p.m.
Summary
If you have two sequences, and one is a permutation of the other, how do you measure how far apart the two sequences are? This post was motivated by the previous post on anagram statistics. For a certain dictionary, the code used in that post found that the longest anagram pairs were the following: certifications, […]...