Question d’entretien chez Arista Networks

Given two strings, see if you can create string1, using the characters available in string2.