Loading topic
dp[i][j] is the edit distance between the first i characters of a and the first j characters of b. The task here is to compute every cell in an order that 2 min readdp[i][j] as the distance between the first i characters of a and the first j characters of b. The table gives you the number of edits. Often you also 2 min read&, |, ^, ~, <<). The goal here is to see how Myers' algorithm packs a whole table column into machine words. You don't need to derive every bit trick.2 min read