MCPcopy
hub / github.com/careercup/ctci / main

Method main

java/Chapter 18/Question18_10/Question.java:78–85  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

76 }
77
78 public static void main(String[] args) {
79 String[] words = {"maps", "tan", "tree", "apple", "cans", "help", "aped", "free", "apes", "flat", "trap", "fret", "trip", "trie", "frat", "fril"};
80 HashSet<String> dict = setupDictionary(words);
81 LinkedList<String> list = transform("tree", "flat", dict);
82 for (String word : list) {
83 System.out.println(word);
84 }
85 }
86
87}

Callers

nothing calls this directly

Calls 2

setupDictionaryMethod · 0.95
transformMethod · 0.95

Tested by

no test coverage detected