Skip to content

Commit 20025c4

Browse files
authored
Update minimum-time-to-make-array-sum-at-most-x.cpp
1 parent a3815ee commit 20025c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/minimum-time-to-make-array-sum-at-most-x.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Time: O(n^2)
22
// Space: O(n)
33

4-
// greedy, sort, dp
4+
// greedy, sort, dp, linear search
55
class Solution {
66
public:
77
int minimumTime(vector<int>& nums1, vector<int>& nums2, int x) {

0 commit comments

Comments
 (0)