Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ba8e3d7

Browse files
small refactoring
1 parent 56f7e79 commit ba8e3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/main/scala/org/codecraftlabs/leetcode/CountAndSay.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ object CountAndSay {
1515
}
1616

1717
private def say(value: String): String = {
18-
var elements = mutable.ArrayDeque[(Int, Char)]()
18+
val elements = mutable.ArrayDeque[(Int, Char)]()
1919

2020
var counter = 1
2121
var currentChar = value.charAt(0)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /