Given a list of millions of words, design an algorithm
Many problems involving a dictionary can be solved by doing some pre-processing. Where can we do preprocessing? Well, if we’re going to create a rectangle of words, we know that each row must be the same length and each column must be the same length. So let’s group the words of the dictionary…