Minimum Edit Distance

Coding the Solution

Now that we already know all the theory behind the Minimum Edit Distance. This can be the right time to translate it into code. So we need a two dimensional array to store the complete table. Below is a simple code which does that:

This code, returns the full blown table for Minimum Edit Distance.