Cody

Problem 56. Scrabble Scores

Given a word, determine its score in Scrabble.

The input string will always be provided in lower case. Use the English language Scrabble letter values as found in this Wikipedia reference: letter distributions for English.

Example:

 Input  str = 'matlab'
 Output score is 10.

Solution Stats

62.58% Correct | 37.42% Incorrect
Last solution submitted on Oct 23, 2017

Problem Comments

Solution Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!