Distinct Subsequences

Given two strings s and t, return the number of distinct subsequences of s which equals t.

The test cases are generated so that the answer fits on a 32-bit signed integer.

Examples
Input: ["rabbbit","rabbit"]
Output: 3
Hints

Distinct Subsequences

Given two strings `s` and `t`, return the number of distinct subsequences of `s` which equals `t`.