What factors determine whether a detection-algorithm must be utilized in a deadlock avoidance system? One is thatit depends on how often a deadlock is likely to occur under the implementation of this algorithm. The other has to do with how many processes will be affected by deadlock when this algorithm is applied.