Skip to content

Commit ce4c2aa

Browse files
refactor 58
1 parent d9e3da9 commit ce4c2aa

File tree

1 file changed

+0
-12
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-12
lines changed

src/main/java/com/fishercoder/solutions/_58.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
package com.fishercoder.solutions;
2-
/**
3-
* 58. Length of Last Word
4-
*
5-
* Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.
6-
* If the last word does not exist, return 0.
72

8-
Note: A word is defined as a character sequence consists of non-space characters only.
9-
10-
For example,
11-
Given s = "Hello World",
12-
return 5.
13-
14-
*/
153
public class _58 {
164

175
public static class Solution1 {

0 commit comments

Comments
 (0)