13分钟内递归一次性解出 思路如下: class Solution { public boolean isSymmetric(TreeNode root) { //注意可能为null if(root==null) {return true;} return mirrorTree(root.left, ...
分类:
其他好文 时间:
2021-01-14 10:53:52
阅读次数:
0
文字版排版较乱 有需要的请查看脑图版http://naotu.baidu.com/file/c74183f46a5c9ed21b48d95baa7bdc65?token=001e59b49f756370 密码为:iqGm 1.认识wireshark 介绍安装和抓一个包 2.过滤 伯克利(BPF)网卡 ...
分类:
其他好文 时间:
2021-01-14 10:50:32
阅读次数:
0
1. pd.get_dummies() #简单&粗暴 pandas.get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False, columns=None, sparse=False, drop_first=False, dtype=N ...
分类:
编程语言 时间:
2021-01-14 10:36:43
阅读次数:
0
parseInt('') NaN parseInt(null) NaN parseInt(undefined) NaN parseInt('asdfa') NaN parseInt('123') 123 parseInt('asd12') NaN // 转换后只保留前面数字 parseInt('12 ...
分类:
Web程序 时间:
2021-01-14 10:34:36
阅读次数:
0
序号校验类型取值描述 1 required true&false 必须填写的字段 2 email “@”&“email” 必须输入正确格式的电子邮件 3 remote url路径 使用ajax进行验证 4 date 数字 正确格式日期 tips:ie6有bug 5 dateISO 字符串 正确格式的 ...
分类:
其他好文 时间:
2021-01-14 10:34:03
阅读次数:
0
###方法一: 通过PHPOffice(推荐) 1: composer require phpoffice/phpword ``` /* 通过composer安装 PHPOffice 需要 或者用中国镜像:https://www.phpcomposer.com/ */ ``` 2: 安装成功可看到 ...
分类:
Web程序 时间:
2021-01-14 10:30:45
阅读次数:
0
#include<bits/stdc++.h> using namespace std; #define lson l,m,rt<<1 #define rson m+1,r,rt<<1|1 #define rush! ios::sync_with_stdio(false);cin.tie(0); c ...
分类:
其他好文 时间:
2021-01-13 11:33:41
阅读次数:
0
1.搭建流程 1.1 ss初始化及启动 >1节点: cd /dm/bin ./dmdssinit path=/dm/data inst=ss1 port=35300 REGION_SIZE=2 DBF_SIZE=10240 RLOG_SIZE=128 ./dmdss path=/dm/data/SS ...
分类:
其他好文 时间:
2021-01-13 11:32:25
阅读次数:
0
<!-- 引入自己封装的 Ajax文件 测试下怎么用 --> <script src="myAjax.js"></script> <script> window.addEventListener('load', function() { var btn = document.querySelecto ...
分类:
Web程序 时间:
2021-01-13 11:30:00
阅读次数:
0
宿主机Nginx使用php容器解析php请求 环境说明 首先,我在宿主机上已经运行了一个nginx [root@localhost html]# nginx -v nginx version: nginx/1.18.0 宿主机上也安装运行了docker [root@localhost html]# ...
分类:
Web程序 时间:
2021-01-13 11:24:19
阅读次数:
0