Pregunta de entrevista de State Street

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