你穿过开裆裤吗?# Joke - 肚皮舞运动
a*n
1 楼
Given a company structure where every employee reports to a superior, all
the way up to the CEO,
how would you print out all the employees that a particular individual
oversees?
Write a method that implements this, given the below:
//Employee object contains a string denoting the employee name, and an //
array containing employees who report to this employee
Employee {
String name;
Array employees;
}
求思路,感觉不应该是binary tree.
the way up to the CEO,
how would you print out all the employees that a particular individual
oversees?
Write a method that implements this, given the below:
//Employee object contains a string denoting the employee name, and an //
array containing employees who report to this employee
Employee {
String name;
Array employees;
}
求思路,感觉不应该是binary tree.