algo4: dp: scramble_string: Revisited -- 3-dimension dp