How many different trees can be formed with N nodes?? I read somewhere it is N ^ (N — 2), But doesn't find any proof? May anyone elaborate how it is N ^ (N — 2).
Counting Trees??
How many different trees can be formed with N nodes?? I read somewhere it is N ^ (N — 2), But doesn't find any proof? May anyone elaborate how it is N ^ (N — 2).