A system has $n$ resources $R_0, \dots,R_{n-1}$, and $k$ processes $P_0, \dots, P_{k-1}$. The implementation of the resource request logic of each process $P_i$ is as follows:
if (i%2==0) {
if (i
Reveal answer
Fill a bubble to check yourself
