Pergunta de entrevista da empresa State Street

Coding Question: To check if second strings is permutations of 1st string or not