Problem Statement
Which of these is a common method for detecting deadlock in a system with multiple resource instances?
Explanation
The Banker’s algorithm can be used for deadlock avoidance via safety checks by simulating allocations to see if system remains in a safe state. Though originally for avoidance, the concept underpins detection of safe/unsafe states.
