ACL Digital Interview Question

Reverse string word-wise two strings anagram or not