Pergunta de entrevista da empresa Nagarro

Q: Check if the characters in Nagarro appear in the same sequence in a given string.