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

Tiên Hương

New member
What is the efficiency of Gale-Shapley algorithm used in stable marriage problem?
A. O(N)
B. O(N log N)
C. O(N$^{2}$)
D. O(log N)
 

Tìm kiếm

Back
Top