MCPcopy Create free account
hub / github.com/Blankj/awesome-java-leetcode / main

Method main

src/com/blankj/easy/_0058/Solution.java:20–24  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

18 }
19
20 public static void main(String[] args) {
21 Solution solution = new Solution();
22 System.out.println(solution.lengthOfLastWord("word "));
23 System.out.println(solution.lengthOfLastWord("hello world"));
24 }
25}

Callers

nothing calls this directly

Calls 1

lengthOfLastWordMethod · 0.95

Tested by

no test coverage detected