deadlock prevention

Deadlock Prevention Simulator
Implement the Banker's Algorithm to determine if the system is in a safe state.

System Configuration

Allocation Matrix

ProcessR0R1R2
P0
P1
P2
P3
P4

Maximum Need Matrix

ProcessR0R1R2
P0
P1
P2
P3
P4