Pregunta de entrevista de ShipBob

Find whether given two strings are permutable or not