LeetCode: 567-Permutation in String 解題紀錄
Last Updated on 2022-02-11 by Clay
題目
Given two stringsRead More »LeetCode: 567-Permutation in String 解題紀錄s1
ands2
, returntrue
ifs2
contains a permutation ofs1
, orfalse
otherwise. In other words, returntrue
if one ofs1
's permutations is the substring ofs2
.