Question d’entretien chez Nagarro

Find nagaroo from a string in a particular order