File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
exercises/practice/scrabble-score/.approaches Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# Introduction
22
3- There are various idiomatiuc ways to solve Scrabble Score.
4- The approaches could be to use a series of ` if ` statements, or a single ` switch ` statment .
3+ There are various idiomatic ways to solve Scrabble Score.
4+ The approaches could be to use a series of ` if ` statements, or a single ` switch ` statement .
55Another approach could be to look up the score in a ` HashMap ` from inside the ` reduce() ` method.
66
77## General guidance
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ because its value does not need to be changed once it is set.
5151In the constructor, a local variable is defined for being updated in the [ ` for ` loop] [ for-loop ] .
5252
5353~~~~ exercism/note
54- Using the same for a variable in a nested local scope that is used in its enclosing higher scope is called
54+ Using the same name for a variable in a nested local scope that is used in its enclosing higher scope is called
5555[variable shadowing](https://www.geeksforgeeks.org/shadowing-in-java/).
5656~~~~
5757
You can’t perform that action at this time.
0 commit comments