# In Bankers Algorithm, with three processes, in the question of need <= work(aka available). Is the need of 1 0 1 <= 0 0 2 work?

Three processes A B C. When conducting the safety algorithm, no explanation that I've been able to find answers the question of how the processes are being compared. Is it the total processes added up, or every process individually must pass the '<=' operator, or is it like regular integers where Process A would be the most significant comparison?

TLDR Answer: It's individual based. Each process work/available item in the matrix, must satisfy each need.

If the Need is 1 0 1 and available matrix is 0 0 2, then this need can't be satisfied. Because there is no resource available for Process A.