Solutions
- Create a filtered_S that contains all characters and their index that should appear in target string
- Apply sliding window algorithm to filtered_S Time Complexity: $O(\mid S \mid + \mid T \mid)$ Space Complexity: $O(\mid S \mid + \mid T \mid)$