这题很简答,没什么可说的
class Solution:
def isSubsequence(self, s: str, t: str) -> bool:
small = 0
for big in t:
if small == len(s):
return True
if big==s[small]:
small += 1
return small == len(s)