A system has three processes $P_0, P_1, P_2$ and three resource types $A, B, C$. At a particular instant:
$$\begin{array}{|c|c|c|}
\hline
\text{Process} & \text{Allocation }(A,B,C) & \text{Need }(A,B,C) \\
\hline
P_0 & (2,0,1) & (0,2,1) \\
P_1 & (0,2,0) & (1,2,3) \\
P_2 & (1,0,1) & (0,1,3) \\
\hline
\end{array}$$
The currently available resources are $(1,3,2)$.
How many safe sequences exist?
- $1$
- $2$
- $3$
- $4$