Skip to content

Commit

Permalink
【update】动态规划-最长递增/上升子序列(LIS)
Browse files Browse the repository at this point in the history
  • Loading branch information
imhuay committed Aug 15, 2018
1 parent 1732058 commit caaee9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 算法/专题-动态规划.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public:
vector<int> dp;

for (int j = 0; j < n; j++) {
// 这里只能使用 upper_bound
// 这里只能使用 lower_bound
auto it_l = lower_bound(dp.begin(), dp.end(), nums[j]);
// auto it_u = upper_bound(dp.begin(), dp.end(), nums[j]);
Expand Down

0 comments on commit caaee9f

Please sign in to comment.