Genetesis Interview Question

Write a function checking or Anagrams.