Sponsored
Use these hints if you're stuck. Try solving on your own first.
The constraints are small. For all 52 characters, check if they are present in <code>word</code>.
Solve with full IDE support and test cases