Discussions Q&R
Dictionary=["a","am","at","apple","bat","bar","babble","can","foo","spam","spammy","zzyzva"]
We also have global Scrabblescores List
How get this output:
>>>scoreList(["a","s","m","t","p"])
[['a',1], ['am',4], ['at',2], ['spam',8]] Input: arr[] = {1, 2, 3, 4, 5, 5, 5, 5, 5, 2, 2, 1, 1}
Output: 5
Explanation:
The subarray (5, 5, 5, 5, 5} has
maximum lengt