Skip to content

a simple algorithm written in lots of languages

Notifications You must be signed in to change notification settings

neal-o-r/rosetta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rosetta

Writing a simple algorithm in lots of languages.

The question is to take this word list, and print out the longest word that shares at least one letter with 31 of the 32 Irish counties. The right answer is microspectrophotometries which is 24 letters long and shares at least one letter with every county except Galway.

The goal isn't to write the best implementation in each language, but to write the best version I can get working with a reasonable amount effort (including install and set up of the language), whilst following the path of least resistance. If the path of least resistance leads to writing a good solution, so much the better.

The hope is that I'll learn a little bit of some new languages, get a feeling for how to work with them, and try out some different ways of solving the problem.

About

a simple algorithm written in lots of languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published