Add two similar solutions to the scramble string problem in leetcode, the one using DP costs O(n*n*m) and it is still too slow to pass the large data set.