Skip to content

Commit f950f42

Browse files
authored
Update house-robber-iv.cpp
1 parent eddf9ea commit f950f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/house-robber-iv.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Solution {
3333

3434
// Time: O(nlogr)
3535
// Space: O(1)
36-
// binary search
36+
// binary search, greedy
3737
class Solution2 {
3838
public:
3939
int minCapability(vector<int>& nums, int k) {

0 commit comments

Comments
 (0)