You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**This problem can be solved using a two-pointer approach. You can keep a pointer on each string and move forward on each string whenever a match is found. If you find a match for every character in the first string, then it's a subsequence of the second string. */