Skip to content

sergii4/anagrams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run

Execute from the command line to run the program:

go run main.go -f sample.txt

where -f - the file name to check the anagrams(sample.txt uses by default, so you can just run: go run main.go)

To run the program on a text file containing over 466k English words use words.txt as a file name argument: -f words.txt

If you need an executable, build it with:

go build

and then run with:

./anagrams -f words.txt

Test

To test the program:

go test -v

About

Resolving anagrams problem with go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages