杨村长 NodeJS与服务器端
System.out.println("DFS current node: " + start.getNo() + " value: " + start.getValue());
for (Node adjNode : adjacencyList.get(start)) {
if (!marked[adjNode.getNo()]) {
// 没有被访问过
helper(adjNode);
}
}
}
public static void main(String[] args) {
// 0 - 1 - 4