Practice Problem
Distinct Subsequences
Difficulty: Hard
Given two strings s and t, return the number of distinct subsequences of s which equals t.
Practice Problem
Difficulty: Hard
Given two strings s and t, return the number of distinct subsequences of s which equals t.