Hello everyone there... I have a problem, suppose I have a given string: "best", the target string is suppose: "beast". Then I have to determine the number of operations to convert the given string to the target string, however the operations allowed are: 1. add a character to string. 2. delete a character. 3. swap two char positions. (should be used wisely, we have only one chance to swap.)
In above case it is 1. How do we solve such kind of problem, and what kind of problem is it? I am a newbie learner.