A string is considered a subsequence if all its characters appear in another string in the same relative order, but not necessarily continuously.
Example 1:
Input: s = "abc", t = "ahbgdc"
Output: true
Explanation: The characters a, b, and c appear in the same order inside the string "ahbgdc".
Example 2:
Input: s = "axc", t = "ahbgdc"
Output: false
Explanation: Although a and c exist in the string, the required order for forming the subsequence is not satisfied.
Example 3:
Input: s = "", t = "ahbgdc"
Output: true
Explanation: An empty string is always considered a valid subsequence.