Pergunta de entrevista da empresa ShipBob

Find whether given two strings are permutable or not