思路:递归。 终止条件是两个节点都为空,return True; 或者两个节点中有一个为空,return False; 或者两个节点的值不相等,return False; class Solution(object): def isSymmetric(self, root): """ :type r ...
分类:
其他好文 时间:
2020-06-08 15:02:40
阅读次数:
49
1、配置交换机 a.连接AP的交换机接口需要配置成trunk,并更改native vlan interface GigabitEthernet1/0/10 description "To_AP" switchport trunk native vlan 2 switchport mode trunk ...
分类:
其他好文 时间:
2020-06-08 14:31:25
阅读次数:
153
1、为什么会出现跨域问题 官方文档:https://docs.microsoft.com/zh-cn/aspnet/core/security/cors?view=aspnetcore-3.1 浏览器安全的基石是"同源政策"(same-origin policy)。同源指三个相同 ①协议相同 ②域名 ...
分类:
数据库 时间:
2020-06-08 10:43:56
阅读次数:
374
1概念1.1模型1.2副本1.3衡量分布式系统的指标2分布式系统原理2.1数据分布方式2.2基本副本协议2.3Lease机制2.4Quorum机制2.5日志技术2.6两阶段提交协议2.7MVCC2.8Paxos协议2.9CAP1概念1.1模型节点在具体的工程项目中,一个节点往往是一个操作系统上的进程。在本文的模型中,认为节点是一个完整的、不可分的整体,如果某个程序进程实际上由若干相对独立部分构成,
分类:
其他好文 时间:
2020-06-08 09:17:42
阅读次数:
59
For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and right child subtrees. A binary tree X is flip e ...
分类:
其他好文 时间:
2020-06-08 00:23:38
阅读次数:
49
Given a binary tree, return the sum of values of nodes with even-valued grandparent. (A grandparent of a node is the parent of its parent, if it exist ...
分类:
其他好文 时间:
2020-06-08 00:15:28
阅读次数:
76
IQC(Incoming Quality Control):来料质量控制 MMBE(库存概览)查看物料ATAA0062-22S当前的收货冻结库存为598PCS,也是是当前IQC数量为598PCS 第1种获取物料的IQC数量方式: *& * *& Report ZQMRTEST *& * *& *& ...
分类:
其他好文 时间:
2020-06-07 21:26:58
阅读次数:
99
linear regression logistic regression SVM binary Tree naive bayes adaboost clustering ...
分类:
其他好文 时间:
2020-06-07 21:24:49
阅读次数:
59
? REF: https://stackoverflow.com/questions/35098595/export-pictures-excel-vba-in-original-resolution https://stackoverflow.com/questions/49106816/how- ...
分类:
编程语言 时间:
2020-06-07 21:19:15
阅读次数:
123
Configuring the Oracle Network Environment ObjectivesAfter completing this lesson, you should be able to:? Use Enterprise Manager Cloud Control and Or ...
分类:
数据库 时间:
2020-06-07 19:06:56
阅读次数:
85