Package lintcode.get_length
Class Solution
- java.lang.Object
-
- lintcode.get_length.Solution
-
public class Solution extends Object
-
-
Constructor Summary
Constructors Constructor Description Solution()
-
-
-
Method Detail
-
getLength
public int getLength(String str)
- Parameters:
str
- : Represents a string- Returns:
- Returns the length of the string after removing spaces
-
-