Eventbrite Interview Question

Write an algorithm that detect anagrams in a string