Problem 3062. Scrabble Scores - 9

After developing a sophisticated Scrabble scoring routine, it's time to write an optimization routine for single-word scoring. The point distribution for English is provided here.

For this problem, you are provided the starting letter (from an existing word on the board) from which you will play a word. For this problem, we'll assume that that's the first letter of your new word.

Rather than having to test all the possible permutations against a dictionary, you will be provided a cell array of strings containing all possible words based on the letters on your tray. Write a function to determine which word would provide the highest score. Also, provide the word(s) that achieve that score in a cell array. See the test suite for examples.

Related problems:

Previous problem: 8 - Multiplayer multiplier board scoring. Next problem: 10 - Word score optimization (given letter).

Solution Stats

78.79% Correct | 21.21% Incorrect
Last Solution submitted on Dec 27, 2022

Problem Comments

Solution Comments

Show comments


Problem Recent Solvers24

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!