Skip to content

Commit 91ea71d

Browse files
authored
Update campus-bikes-ii.cpp
1 parent 8ec7c1c commit 91ea71d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

C++/campus-bikes-ii.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Time: O(w * b * 2^b)
22
// Space: O(w * b * 2^b)
33

4-
// if w = b, we can even apply Hungarian algorithm (https://en.wikipedia.org/wiki/Hungarian_algorithm)
5-
// it can be improved to O(w^3), (https://github.com/t3nsor/codebook/blob/master/bipartite-mincost.cpp)
4+
// if w = b, we can even apply Hungarian algorithm (see https://en.wikipedia.org/wiki/Hungarian_algorithm),
5+
// it can be improved to O(w^3), see https://github.com/t3nsor/codebook/blob/master/bipartite-mincost.cpp
66
class Solution {
77
public:
88
int assignBikes(vector<vector<int>>& workers, vector<vector<int>>& bikes) {

0 commit comments

Comments
 (0)