re: Write a script to identify an anagram VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Wouldn't "hello" and "hellooo" be a false positive here? I like the feel of this approach though.

 

Oh, good point. This is probably better suited to a “find the one unique letter” type problem. I like the solution that uses ‘uniq’ the best so far, I think.

code of conduct - report abuse