Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wisdompeak authored Aug 28, 2022
1 parent e3b8375 commit 5ddc886
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

我们将pattern前加上一个“I”,这样pattern的长度就与字符串相等。我们发现,将每个“IDD...D”视作一个section,那么后一个section必然要完全高于前一个section。我们虚拟地令当前的最大字符是0,然后把后续整个字符串的相对走势都表达出来后(必然都大于0),得到的就是用1~9组成的字典序最小的字符串。

注:本题就是`942. DI String Match`的follow-up
注:本题是`942. DI String Match`的follow-up,并且和`484.Find-Permutation`一模一样

0 comments on commit 5ddc886

Please sign in to comment.