摘要:
周赛链接:https://www.acwing.com/activity/content/competition/problem_list/2644/ AcWing 4722. 数列元素 #include <iostream> using namespace std; int n; int main 阅读全文
摘要:
https://leetcode.cn/problems/non-overlapping-intervals/description/ 线性dp TLE class Solution { public: int f[200010]; int a[200010]; int eraseOverlapIn 阅读全文
摘要:
[199] 二叉树的右视图 题目链接: https://leetcode.cn/problems/binary-tree-right-side-view/description/ WA 一开始的想法是遍历二叉树,只需要右分枝即可。但是如果右边没有节点,就可以看到左边的点。 class Solutio 阅读全文