ShipBob Interview Question

Find whether given two strings are permutable or not