solved "Distinct Subsequences"