What will I learn?
This puzzle makes you use nested loops and combine multiple associative arrays in order to build an efficient solution.
The goal of this problem is to find a word from a dictionary to get the best score at the popular scrabble game. The solving of this problem relies on associative arrays and the methodology used to compute the best score. A good choice of the data structure is often the key to correctly solve a puzzle.
A higher resolution is required to access the IDE
When you play scrabble on sundays with your family, the situation quickly goes out of hand. What's the best move ? Should you play "pool" or "loop" ? What will grandma do ? Here we propose a new puzzle to calculate the best word to play out of a list.