Pregunta de entrevista de Nagarro

Program to find if all the words from string1 are present in string2 in same order.