Q.

What is the efficiency of Gale-Shapley algorithm used in stable marriage problem?

A. o(n)
B. o(n log n)
C. o(n2)
D. o(log n)
Answer» C. o(n2)
Explanation: the time efficiency of gale- shapley algorithm is mathematically found to be o(n2) where n denotes stable marriage problem.
1.2k
0
Do you find this helpful?
1

Discussion

No comments yet