22 lines
638 B
Markdown
22 lines
638 B
Markdown
# Anagram
|
|
|
|
Write a program that, given a word and a list of possible anagrams, selects the correct sublist.
|
|
|
|
Given `"listen"` and a list of candidates like `"enlists" "google"
|
|
"inlets" "banana"` the program should return a list containing
|
|
`"inlets"`.
|
|
|
|
To run the tests simply run the command `go test` in the exercise directory.
|
|
|
|
If the test suite contains benchmarks, you can run these with the `-bench`
|
|
flag:
|
|
|
|
go test -bench .
|
|
|
|
For more detailed info about the Go track see the [help
|
|
page](http://exercism.io/languages/go).
|
|
|
|
## Source
|
|
|
|
Inspired by the Extreme Startup game [view source](https://github.com/rchatley/extreme_startup)
|