Glovo interview question

Live coding. Identify if two strings are anagrams