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)
πŸ’¬ Discuss
βœ… Correct 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.

Explanation by: Mr. Dubey
the time efficiency of gale- shapley algorithm is mathematically found to be o(n2) where n denotes stable marriage problem.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
992
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate