Skip to content

MattMSumner/word_square

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Square

Word Square

Your task is to write a Ruby program that generates word squares.

A word square is a collection of letters that form valid words when read from left to right, and also from top to bottom.

Your program should take an integer n, and search for word squares of size n x n. It should print the square it finds.

You may work on this challenge by yourself or as part of a pair.

When you are done, create a public repo (or gist, if you prefer) and leave a link to it in this thread. Then, please review at least one other person’s submission and leave them feedback on their code.

Extra Credit

Find a 6x6 word square as quickly as possible. Post your best time.

Post any questions in this thread.

About

A small rails app for generating word squares

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published