Number of Distinct Common Subsequences

Company: Infosys SP

Difficulty: medium