Solved Interleaving string problem with DP method with a running array