@@ -62,7 +62,7 @@ is being calculated based on three previously possible transformations. |
62 | 62 |
|
63 | 63 | To explain this further let’s draw the following matrix: |
64 | 64 |
|
65 | | - |
| 65 | + |
66 | 66 |
|
67 | 67 | - Cell `(0:1)` contains red number 1. It means that we need 1 operation to |
68 | 68 | transform `M` to an empty string. And it is by deleting `M`. This is why this number is red. |
@@ -89,11 +89,11 @@ letters in `i`'s row and `j`'s column. |
89 | 89 |
|
90 | 90 | You may clearly see the recursive nature of the problem. |
91 | 91 |
|
92 | | - |
| 92 | + |
93 | 93 |
|
94 | 94 | Let's draw a decision graph for this problem. |
95 | 95 |
|
96 | | - |
| 96 | + |
97 | 97 |
|
98 | 98 | You may see a number of overlapping sub-problems on the picture that are marked |
99 | 99 | with red. Also there is no way to reduce the number of operations and make it |
@@ -106,7 +106,7 @@ bottom-up direction) is being applied here. |
106 | 106 | Applying this principle further we may solve more complicated cases like |
107 | 107 | with `Saturday → Sunday` transformation. |
108 | 108 |
|
109 | | - |
| 109 | + |
110 | 110 |
|
111 | 111 | ## References |
112 | 112 |
|
|