谷歌SDE L4店面挂经

I got a basic question something like this https://leetcode.com/problems/word-subsets/.
Given two strings, find if the String2 is subset of String1.
I did well but i ran out of time to explain time complexity.