4. Deadlock avoidance | #Bankers algorithm | #Safetyalgorithm | Operating system