leetle

Daily challenge for 2025-09-07

250. Is Subsequence

Write a function solve that returns true if string s is a subsequence of string t, and false otherwise.

Example:
Input: s = 'abc', t = 'ahbgdc'
Output: true

Run this challenge interactively in Python or JavaScript when the app loads.