package cn.fmachine.lintcode.util;

import java.util.ArrayList;

/**
 * Definition for Directed graph.
 * algorithm
 * Author: XIN MING
 * Date: 10/28/16
 */
public class DirectedGraphNode {
    public int label;
    public ArrayList<DirectedGraphNode> neighbors;

    public DirectedGraphNode(int x) {
        label = x;
        neighbors = new ArrayList<DirectedGraphNode>();
    }
}
