Recro Interview Question

DSA 2nd Question: String Subsequence Medium Level Question