Ad
  • Custom User Avatar

    You're solution is almost right, but for the first Light test it failed because it generates the given object :

    > groupAnagrams(["rat", "tar", "star"])
    [ [ 'rat', 'tar' ], 
      [ 'star' ], 
      undefined ]
    

    The undefined should not be part of the output for the test to succeed.

    Cheers