AlgorithmAndLeetCode#itcharge-LeetCode-Py#0727. 最小窗口子序列1

时间:2022-07-25 14:25:38
【文件属性】:
文件名称:AlgorithmAndLeetCode#itcharge-LeetCode-Py#0727. 最小窗口子序列1
文件大小:3KB
文件格式:MD
更新时间:2022-07-25 14:25:38
leetcode 当匹配到一个子序列时,可以采用逆向匹配的方式,从 s2 的最后一位字符匹配到 s2 的第一位字符。遍历字符串 s1 的每一个字符,如果 s1[i] == s2[

网友评论