Realm

saturday

gno.land/r/moul/x/daily/levenshteindemo/v1:sunday/saturday

Render

Levenshtein distance

Transforming sundaysaturday

  • Edit distance: 3 single-character edits (insert / delete / substitute)
  • Similarity: 63%

DP table

Each cell d[i][j] is the distance between the first i runes of sunday and the first j runes of saturday. The bottom-right cell is the answer.

εsaturday
ε012345678
s101234567
u211223456
n322233456
d433334345
a543444434
y654455543

← back

Source (qfile)

README.md
gnomod.toml
levenshteindemo.gno