andrew.io

Weblog: Finding Anagrams with Python

As a web developer a lot of my development activities really comes down to handling a request, authenticating the request, validating the request, making an sql query, serializing the data for a response, and then handling the response in the web browser and render accordingly. Needless to say, I don't spend a lot of time working on algorithms and optimization (outside of sql) these days.

And, recently I saw a small programming challenge on the web for determining anagrams in the english dictionary for a given word, and I sat down today and worked out a solution and here it is:

Read More...

Elsewhere