That can help you know What is Tree. I use LinkList Data Structure to store tree node.and index is child node.