tantan的博客

Notes, ideas, and observations

送分题

1
2
3
4
5
6
7
8
9
10
11
12
13
class Solution {
public:
char findTheDifference(string s, string t) {
map<char, int>count;
for(auto&&c:s){
count[c]++;
}
for(auto&&c:t){
count[c]--;
}
return find_if(count.begin(),count.end(),[&](auto it){return it.second!=0;})->first;
}
};

Oracle Apex怎么调用procedure

1
2
3
begin
ANALYSIS(6, 1000);
end;

Spring-doc OpenAPI 注解

@Operation @Response @Parameter

给出二叉树结构和节点的值列表, 将值填入二叉树中, 输出层次序遍历的结果

考点: 二叉树的直接后继

0%