Skip to content

Commit a9bba29

Browse files
committed
fix: update
1 parent 61d4e99 commit a9bba29

File tree

1 file changed

+1
-1
lines changed
  • solution/3000-3099/3003.Maximize the Number of Partitions After Operations

1 file changed

+1
-1
lines changed

solution/3000-3099/3003.Maximize the Number of Partitions After Operations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ tags:
102102

103103
### 方法一:记忆化搜索
104104

105-
我们设计一个函数 $\texti{dfs}(i, \textit{cur}, t)$ 表示当前处理到字符串 $s$ 的下标 $i$,当前前缀中已经包含的字符集合为 $\textit{cur}$,并且还可以修改 $t$ 次字符时,能够得到的最大分割数量。那么答案即为 $\textit{dfs}(0, 0, 1)$。
105+
我们设计一个函数 $\textit{dfs}(i, \textit{cur}, t)$ 表示当前处理到字符串 $s$ 的下标 $i$,当前前缀中已经包含的字符集合为 $\textit{cur}$,并且还可以修改 $t$ 次字符时,能够得到的最大分割数量。那么答案即为 $\textit{dfs}(0, 0, 1)$。
106106

107107
函数 $\textit{dfs}(i, \textit{cur}, t)$ 的执行逻辑如下:
108108

0 commit comments

Comments
 (0)