Leetcode_394_ Decode String_dfs搜索_我的算法之路_解密字符串

在这个题目中,在给定3[a]2[bc]这种形式的字符串,我们需要来解密这个字符串,即用递归的思想来做下面是我的代码 class Solution { public: string decodeString(string s) { string res; for(int i=0;i<s.size();)//首先对字符串的每一个字符进行枚举 {
相关文章
相关标签/搜索