Sponsored
Use these hints if you're stuck. Try solving on your own first.
How can you check if two strings are similar?
Use a hashSet to store the character of each string.
Solve with full IDE support and test cases