distinct subsequences of a sequence of characters.Dynamic programming :)