Anyone have a good algorithms for minimum 2-dimensional diff? Input is 2 trimmed and clean CSVs (files don’t end in \n; lines don’t end in ,; no quotes or escaping). (one note: There often is a varying number of columns in rows)
Example, given the 2 inputs below, write efficient diff and patch methods and a nice diff encoding.
rank,color 1,blue 2,red 3,green
rank,color 1,blue 2,orange 3,purple
A nice diff format would also be helpful. Can’t seem to find much on this yet, but there must be some stuff out there in the Spreadsheet/Finance world.