Fast lookup for organization hierarchy
Posted
by
Élodie Petit
on Programmers
See other posts from Programmers
or by Élodie Petit
Published on 2011-02-25T13:12:08Z
Indexed on
2011/02/25
15:32 UTC
Read the original article
Hit count: 231
I need a way to implement a fast lookup algorithm / system to find users very quickly in a multi-level department and multi-level employee/manager relation organization structure.
Departments can have any level of departments and users directly connected to departments. User are connected to departments and other users at the same time.
What would be the best approach to implement such a system? There will be approximately 2000 users and 30 departments. Is there a good way to hold all of this information on memory?
© Programmers or respective owner