.....
Suppose that a binary tree, generated randomly is geven below:
B
/ \
A E
/ \ \
D G H
/ \
F C
where A,........,G are the agents in the organization.
(2)We now define the rank of each agent as the number of subordinates
he/she manages. For instance, the ranks of agents B,A and F are 7,
4 and 0 respectively. Please explain concisely how to render a list
of agents with ranks in a non-increasing order.
我想請問這一題是在問什麼東西?
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.60.64.106