Cody

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.95% Correct | 21.05% Incorrect
Last Solution submitted on Jan 03, 2019

Problem Comments


Problem Recent Solvers14

Problem Tags