LeetCode知识点总结 – 392

LeetCode 392. Is Subsequence
考点难度StringEasy
题目
Given two strings s and t, return true if s is a subsequence of t, or false otherwise.
A subsequence of a string is a new string that is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (i.e., “ace” is a subsequence of “abcde” while “aec” is not).
思路
用两个poi

LeetCode知识点总结 – 392最先出现在Python成神之路

版权声明:
作者:Zad
链接:https://www.techfm.club/p/9887.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>