Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Aggregate Analysis Example
int start = 0; // 1
int end = 0; // 1
while (end <= n-1) { // n times
if ( ... ) { // 1
while (start <= end && nums[start] < nums[end]) { // ??
...
start++; // 1
}
}
end++; // 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment