Determine if a string is a subsequence of another
A string s is considered a subsequence of string t if s can be formed by deleting zero or more characters from t without changing the relative order of the remaining characters. For example, "ace" is a subsequence of "abcde", but "aec" is not.
Constraints:
s.lengthis between 0 and 100.t.lengthis between 0 and 10,000.- Both strings consist only of lowercase English letters.
// Example 1
// Input: s = "abc", t = "ahbgdc"
// Output: true
// Example 2
// Input: s = "axc", t = "ahbgdc"
// Output: false