CODEX
Learning Go Lang Days 27 — Find out if a word is an anagram in Go Lang #100daysofcode
Having spent yesterday looking at how to write the code for Fizz Buzz in Go Lang I thought I would continue with the typical code test questions and today write a go lang method that takes two words and returns whether they are an anagram of one another.
To do this we first need to understand what an Anagram is. A word is an anagram of another word if it contains all the same letters. For example listen
is an anagram of silent
.