void () { final Map<String, String> graph = new HashMap<>(); graph.put("s", "p"); graph.put("p", "qt"); graph.put("q", "vt"); graph.put("v", "p"); graph.put("t", ""); doTest(graph, 5, "spt", "spqt", "spqvpt", "spqvpqt", "spqvpqvpt"); }