Random Function and Tree

2020 VietMX 0

You have a rooted tree consisting of n vertices. Let’s number them with integers from 1 to n inclusive. The root of the tree is the vertex 1. For each iā€‰>ā€‰1 direct parent of […]