Question d’entretien chez Ubolt Technologies

Check for an anagram, Wrote code for the same.