[LintCode] Length of Last Word