Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int solve(vector<int> &input) {
- int ans = 0;
- int windowStart = 0;
- for (int windowEnd = 0; windowEnd < input.size(); windowEnd++) {
- // TODO: update variable
- while () { //TODO: check condition
- //TODO: modify bounds
- windowStart++;
- }
- //TODO: update answer
- }
- return ans;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement