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

Method main

src/com/blankj/hard/_0030/Solution.java:71–76  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

69 }
70
71 public static void main(String[] args) {
72 Solution solution = new Solution();
73 System.out.println(solution.findSubstring("wordgoodgoodgoodbestword", new String[]{"word", "good", "best", "good"}));
74 System.out.println(solution.findSubstring("barfoothefoobarman", new String[]{"foo", "bar"}));
75 System.out.println(solution.findSubstring("barfoofoobarthefoobarman", new String[]{"bar", "foo", "the"}));
76 }
77}

Callers

nothing calls this directly

Calls 1

findSubstringMethod · 0.95

Tested by

no test coverage detected