Anagram

Anagram

Medium

Instructions

An anagram is a rearrangement of letters to form a new word. Given a word and a list of candidates, select the sublist of anagrams of the given word.

Given "listen" and a list of candidates like "enlists" "google" "inlets" "banana" the program should return a list containing "inlets".

Last updated 22 September 2021
Edit via GitHub The link opens in a new window or tab
Elm Exercism

Ready to start Anagram?

Sign up to Exercism to learn and master Elm with 8 concepts, 54 exercises, and real human mentoring, all for free.