Resource hierarchy solution (Dining Philosophers Problem Deadlock Avoidance)
Revision as of 10:39, 15 February 2023 by Admin (talk | contribs) (Created page with "== Time Complexity == $O({2}^n)$ == Space Complexity == $O(n)$ (each fork has a mutex and there are O(n) forks) == Description == == Approximate? == Exact == Randomized? == No, deterministic == Model of Computation == == Year == 1965 == Reference == https://en.wikipedia.org/wiki/Dining_philosophers_problem#Resource_hierarchy_solution")
Time Complexity
$O({2}^n)$
Space Complexity
$O(n)$
(each fork has a mutex and there are O(n) forks)
Description
Approximate?
Exact
Randomized?
No, deterministic
Model of Computation
Year
1965
Reference
https://en.wikipedia.org/wiki/Dining_philosophers_problem#Resource_hierarchy_solution