Pergunta de entrevista da empresa Sedai

Given two strings, check if the second string is a permutation of the first—if so, return True, otherwise False