+ 3
[Challenge] Scrabble
You are given n words, and must output the word with the best score. The score of a word is calculated like this (The max length of a word is 10 letters): e, a, i, o, n, r, t, l, s, u are equal 1 point d, g 2 points b, c, m, p 3 points f, h, v, w, y 4 points k 5 points j, x 8 points q, z 10 points For example: input { "This", "Is", "a", "Cool" , "Challenge" } output : Challenge https://code.sololearn.com/cXbekDgxdlyM/?ref=app
5 ответов
+ 11
Hi nitzan!
Could you please submit this challenge via lesson factory so that it can be reviewed for possible inclusion in a new, yet to be announced feature.
Thanks!
In lesson factory, select language "other" (as it is not language restricted) and type "assignment"
+ 3
OK
+ 1
@jay great!