This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### WordRectangle.py | |
### Python solution to Cracking the Coding Interview's question 17.25 | |
### Noah Nelson | |
### | |
### The problem: | |
### Given a dictionary or list of words, return the largest rectangle you can | |
### form out of those words where every row and every column is a valid word. | |
### All of the rows have to have the same length, and all of the columns, | |
### but the width and height may be different. The largest rectangle is the | |
### one with the largest area. |