loading

Is Subsequence — Step-by-Step Visualization

easyLeetCode #392StringTwo Pointers

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 generated from the original string with some characters deleted without disturbing the relative order.

Related Problems