Pergunta de entrevista da empresa Amazon

Having a reference string and an array of strings how do we write an efficient algorithm to find which string in the array contains the same letters as the reference array