fix the comments error

This commit is contained in:
Hao Chen 2021-02-17 19:24:13 +08:00 committed by GitHub
parent 88836fbad3
commit d358ec02e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,8 +153,8 @@ public:
}
int maxValueDP(vector<vector<int>>& events, int k) {
// for each event, find the next first event which
// starting day is greater than its ending day
// for each event, find the previous nearest event which
// ending day is less than its starting day
for (int i = 0; i < events.size(); i++) {
events[i].push_back( findPrevEvent(events, i, events[i][0]));