We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321ff76 commit 13f9825Copy full SHA for 13f9825
greedy_algorithms/gale_shapley.cpp
@@ -1,3 +1,17 @@
1
+/**
2
+ * @file
3
+ * @brief Stable Marriage Problem implementation
4
+ * @details
5
+ * This implementation utilizes the Gale-Shapley algorithm to find stable matches
6
+ * between men and women based on their preferences.
7
+ *
8
+ * **Stable Marriage Problem** aims to find a stable matching between two equally sized
9
+ * sets of elements given an ordinal preference for each element. The algorithm was
10
+ * introduced by David Gale and Lloyd Shapley in 1962.
11
12
+ * @author [B Karthik](https://github.com/BKarthik7)
13
+ */
14
+
15
#include <iostream>
16
#include <vector>
17
#include <cstring>
0 commit comments