# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None # 递归 # 时间复杂度:O(n ...
分类:
其他好文 时间:
2021-03-29 12:51:26
阅读次数:
0
输入一棵二叉树和一个整数,打印出二叉树中节点值的和为输入整数的所有路径。从树的根节点开始往下一直到叶节点所经过的节点形成一条路径; /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode * ...
分类:
其他好文 时间:
2021-03-29 12:41:37
阅读次数:
0
Hadoop集群 第三章 linux虚拟机 jdk 配置 1、查看并卸载主机原有JDK 1)查找并卸载 jdk 相关软件 rpm -qa | grep -i java | xargs -n1 rqm -e --nodeps rpm -qa:查看安装的所有 rpm 软件包 grep -i :忽略大小写 ...
分类:
系统相关 时间:
2021-03-29 12:39:22
阅读次数:
0
"scripts": { "start": "cross-env REACT_APP_CHANNEL=wizlong react-app-rewired start" } 参数名必须以REACT_APP_开头,原因是react-script.js中做了正则校验。 ...
分类:
移动开发 时间:
2021-03-29 12:38:06
阅读次数:
0
本文翻译自:Git - Ignore node_modules folder everywhere I have a project containing multiple other projects : 我有一个包含多个其他项目的项目: Main project 主要项目 Mini projec ...
分类:
其他好文 时间:
2021-03-29 12:17:32
阅读次数:
0
二进制安装部署方式 集群规划 准备5台2C/2g/50g虚拟机,网络10.4.7.0/24预装centos7.4。 主机名 分配ip 用途 hdss7-11.host.com 10.4.7.11 proxy1 hdss7-12.host.com 10.4.7.12 proxy2 hdss7-21.h ...
分类:
其他好文 时间:
2021-03-29 12:10:40
阅读次数:
0
需求 实现React轮播图 使用库 swiper官网 https://swiperjs.com/react 实现方法 /** 组件:图片轮播*/ import React, { Component } from "react"; import SwiperCore, { Navigation, Pa ...
分类:
其他好文 时间:
2021-03-29 11:45:53
阅读次数:
0
node和python默认的rsa加密方式是不一样,要调整一下。 node代码: const fs = require('fs'); const NodeRSA = require('node-rsa'); const path = require('path').resolve(); const ...
分类:
编程语言 时间:
2021-03-29 11:41:58
阅读次数:
0
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\StrongName] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft ...
分类:
其他好文 时间:
2021-03-29 11:38:07
阅读次数:
0
环境搭建 题目环境:https://github.com/crumbledwall/CTFChallenges/tree/main/D3CTF2021/8-bit_pub 需要更改下邮件配置 接着docker启动即可 题目复现 访问题目,注册登陆后发现存在着admin的功能并且访问不了,目的很明确, ...
分类:
其他好文 时间:
2021-03-29 11:36:14
阅读次数:
0