Hughes Systique interview question

DSA questions regarding strings, reverse a string, valid anagram