A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Consider a system which have ‘n’ number of processes and ‘m’ number of resource types. The time complexity of the safety algorithm, which checks whether a system is in safe state or not, is of the order of:
a. O(mn)
b. O(m^2n^2)
c. O(m^2n)
d. O(mn^2)
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: