solulubeta
Sign in
NeetCode 150 / 2-D Dynamic Programming
14.08 · Problem

Distinct Subsequences

Hard Two-string counting DP 1 video LC 115 Pro

This problem is part of solulu Pro

Return the number of distinct subsequences of s that equal t: the number of ways to delete characters from s so that what remains is t.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 118 of 150 · updated 2026-10-12