We consider the example of W = "ABCDABD" first.
我们首先考虑例子W = "ABCDABD"。