Pergunta de entrevista da empresa Yubi

Find strings from a list which you can form by picking random letters in a another input string