solution given of edit distance is wrong in video lecture.It’s failing for the testcase string1=aa , string2=aaa.
Hello @anikcode
Here is the modified code
Let me know if you still need any help.