committing leetcode lengthoflastword