Sponsored
Use these hints if you're stuck. Try solving on your own first.
First of all, get the distinct characters since we are only interested in those
Let's note that there might not be any digits.
Solve with full IDE support and test cases