Skip to content

Commit 3021d9d

Browse files
Update greedy_algorithms/gale_shapley.cpp
Co-authored-by: realstealthninja <[email protected]>
1 parent bb17cb8 commit 3021d9d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

greedy_algorithms/gale_shapley.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ namespace greedy_algorithms {
3939
* @param secondary_preferences the preferences of the secondary set should be a 2D vector
4040
* @returns matches the stable matching between the two sets
4141
*/
42-
43-
namespace stable_matching {
4442
std::vector<int> gale_shapley(const std::vector<std::vector<int>>& secondary_preferences, const std::vector<std::vector<int>>& primary_preferences) {
4543
int num_elements = secondary_preferences.size();
4644
std::vector<int> matches(num_elements, -1);

0 commit comments

Comments
 (0)