第一题: https://leetcode.com/problems/add-binary/
第二题:
Simplified version of https://leetcode.com/problems/find-all-anagrams-in-a-string/
Find the first index of anagram within a given string.
Example 1:
Input: s = “hello”, p = “lo”
Output: 3
Explanation: the returned value would be 3 because the smallest index of “lo” is 3.
Example 2:
Input: s = “hehehe”, p = “eh”
Output: 0
Explanation: the returned value would be 0 because “he” which is an anagram can be found in index 0.