LeetCode087——扰乱字符串

我的LeetCode代码仓:https://github.com/617076674/LeetCode 原题链接:https://leetcode-cn.com/problems/scramble-string/description/ 题目描述: 知识点:动态规划 思路一:用动态规划求出所有的扰乱字符串(在LeetCode中提交会超时) 状态定义: f(x, y)--------字符串s1[x,
相关文章
相关标签/搜索