HackerRank里面的random 题目: 给一个string, 一切成两半, 看两半要变化多少个字符, 能变成anagram. - 切两半成两个String A,B. 分别在int ...
// there are multiple ways to solve this problem. // one technique is to take all substrings in s which is of length(p) // then sort that substring and sort p and compare both.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results