Ok now, how is it an anagram? It's either I don't get your definition or you guys got it wrong.
and and dan both are composed of 1 x a, 1 x n, 1 x d so they are anagram.
1 x a, 1 x n, 1 x d
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.