Skip to content

Commit 00a3b8e

Browse files
authored
Fixed space
1 parent f0717cb commit 00a3b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: csharp/0058-length-of-last-word.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public int LengthOfLastWord(string s) {
1111
var result = 0;
1212
var i = s.Length - 1;
1313
while (s[i] == ' ') --i;
14-
for (; i >=0; --i) {
14+
for (; i >= 0; --i) {
1515
if (s[i] == ' ') {
1616
return result;
1717
}

0 commit comments

Comments
 (0)