BJIT Academy interview question

Valid Anagram[String]. It was a Leetcode Medium Level Question