Message from JavaScript discussions

May 2017

— You actually only have to incr / decr once per word

— 

So as long as there's enough of each letter in that uniques list to be equal or greater to the letters counted in the input string, we know it's "probably in the set"

— It's total letters, so for "Hello", we have 2 L's added

— Yeah, but you could increment once as well

— This lets us know if words in the set use any of the unique letters without knowing which words they are

Message permanent page

— Adding "Helion" will make it get to that check, and it will notice the L's in "Hello" are more than are in the set, and will return false (definitely not in set)

Message permanent page

— Wat

— Couldn't it still have "Helion"?

— If L is 3, it could have both

— Oh right, just needed to re-read

— Add "Helion",
Run has for "Hello"

— It will see 1 L in the set, but 2 in Hello