I've just finished crack of problem set 2. My solution, though, seems quite ugly to me, as it was just some mindless brute force (in which I frankly struggled with strings for a while).
E.g. to iterate through words with 4 letters, I used four nested for-loops. That does not seem nice to me.
Is there any better way of approaching this problem?