Subsequence Match Builder

Given two strings s and t, you need to append characters to s to make t a subsequence of the resulting string.

Return the minimum number of characters that need to be appended to s so that t becomes a subsequence.

Examples
Input: ["coaching","coding"]
Output: 4
Hints

Subsequence Match Builder

Given two strings `s` and `t`, you need to append characters to `s` to make `t` a subsequence of the resulting string.