• + 4 comments

    If we have a tree of n nodes, how many edges will it have? I answered (n*n-1)/2 but the system is showing wrong answer. Number of edges in a tree is nC2. Why it is showing wrong?