【Leetcode】392. Is Subsequence

class Solution1(object): """ 雙指針 """ def isSubsequence(self, s, t): """ :type s: str :type t: str :rtype: bool """ if len(s) > len(t): return False if len(s
相關文章
相關標籤/搜索