• + 12 comments

    Very poor description of a simple problem..I am not sure what are we achieving by complicating the problem description.. what was the significance of length 'a' and 'b'when in example it already calls out it should be equal length in order to be anagram. This is merely making it verbose and adding complexities like |a-b| < 1 .. not contributing to the gut of the problem. My suggestion is to remove this problem or modify signifincantly. only reason I can see to keep it as is if we intent to confuse reader.