class resolution anagramme