Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
The number of unique good subsequences is equal to the number of unique decimal values there are for all possible subsequences.
Find the answer at each index based on the previous indexes' answers.