https://leetcode.com/problems/find-the-count-of-monotonic-pairs-i/description/
Tag: DP
Rate: 1897
typedef long long ll;
class Solution {
public:
int countOfPairs(vector<int>& nums)
GitHub - chris901003/IsStillOnline-iOS: This is the iOS app for Is Still OnlineThis is the iOS app for Is Still Online. Contribute to chris901003/IsStillOnline-iOS
https://leetcode.com/problems/peaks-in-array/description/
Tag: Segment Tree
Rate: 2154
class Solution {
public:
int seg[100010 << 2];
void update(int node, int