Tickmill interview question

Write Kotlin code to check if given two string are anagram.