algo4: dp: interleaving_string: Revisited optimized solution