You are viewing a single comment's thread. Return to all comments →
Instead of checking it against all 26 alphabet, find the shortest of the strings, make a set out of those letters in the shortest string and compare.
Seems like cookies are disabled on this browser, please enable them to open this website
Gemstones
You are viewing a single comment's thread. Return to all comments →
Instead of checking it against all 26 alphabet, find the shortest of the strings, make a set out of those letters in the shortest string and compare.