MCPcopy Create free account
hub / github.com/codingXiaxw/leetcode / main

Method main

algorithms/Java/lengthOfLastWord.java:12–18  ·  view source on GitHub ↗

Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. @param args

(String[] args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

lengthOfLastWordMethod · 0.95

Tested by

no test coverage detected