Which algorithm is used in operating systems for deadlock detection?

Explanation:

Banker’s algorithm helps in deadlock avoidance and detection.

Explore more in Computer Science: