Back
Close
  • 98

What will I practice?

ConditionsLoops

This puzzle makes you use nested loops and combine multiple associative arrays in order to build an efficient solution.

External resources

Associative arrayHash Table

Statement

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

Story

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.

Online Participants