LeetCode: 567-Permutation in String 解題紀錄
題目
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
.