Daffodil Software interview question

React basic technical questions. Anogram of a word