Fexle Services interview question

Anagram , most frequent first repeating character in string , plus star pattern.