exercism-elixir/anagram
2022-03-12 11:08:07 -04:00
..
.exercism acronym 2022-03-11 23:18:34 -04:00
lib anagram 2022-03-12 11:08:07 -04:00
test anagram 2022-03-12 11:08:07 -04:00
.formatter.exs acronym 2022-03-11 23:18:34 -04:00
.gitignore acronym 2022-03-11 23:18:34 -04:00
HELP.md acronym 2022-03-11 23:18:34 -04:00
mix.exs acronym 2022-03-11 23:18:34 -04:00
README.md acronym 2022-03-11 23:18:34 -04:00

Anagram

Welcome to Anagram on Exercism's Elixir Track. If you need help running the tests or submitting your code, check out HELP.md.

Instructions

An anagram is a rearrangement of letters to form a new word: for example "owns" is an anagram of "snow". A word is not its own anagram: for example, "stop" is not an anagram of "stop".

Given a target word and a set of candidate words, this exercise requests the anagram set: the subset of the candidates that are anagrams of the target.

The target and candidates are words of one or more ASCII alphabetic characters (A-Z and a-z). Lowercase and uppercase characters are equivalent: for example, "PoTS" is an anagram of "sTOp", but StoP is not an anagram of sTOp. The anagram set is the subset of the candidate set that are anagrams of the target (in any order). Words in the anagram set should have the same letter case as in the candidate set.

Given the target "stone" and candidates "stone", "tones", "banana", "tons", "notes", "Seton", the anagram set is "tones", "notes", "Seton".

Source

Created by

  • @rubysolo

Contributed to by

  • @andrewsardone
  • @angelikatyborska
  • @Br1ght0ne
  • @Cohen-Carlisle
  • @crazymykl
  • @dalexj
  • @devonestes
  • @henrik
  • @jeremy-w
  • @jinyeow
  • @kytrinyx
  • @lpil
  • @markijbema
  • @neenjaw
  • @parkerl
  • @pminten
  • @sotojuan
  • @Teapane
  • @tjcelaya
  • @waiting-for-dev

Based on

Inspired by the Extreme Startup game - https://github.com/rchatley/extreme_startup