We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
For those having problems, if you pay attention you will find out that you need at least one char to occur in both strings, that's all, you don't have to check for complicated combinations.
Two Strings
You are viewing a single comment's thread. Return to all comments →
For those having problems, if you pay attention you will find out that you need at least one char to occur in both strings, that's all, you don't have to check for complicated combinations.
Another hint: Use a frequency array.