题目描述: 方法一:O(MN) O(M) class Solution: def isSubStructure(self, A: TreeNode, B: TreeNode) -> bool: def equal(A,B): if not B:return True if not A or A.va ...
分类:
其他好文 时间:
2020-04-17 16:07:17
阅读次数:
67
"上一篇文章:Gateway使用入门" GateWay作为网关路由是挡在了我们的系统最前边,进行动态路由配置和转发。那么我们就可以在网关层进行网关鉴权。 https://cloud.spring.io/spring cloud gateway/2.2.x/reference/html/ Gatewa ...
分类:
编程语言 时间:
2020-04-15 00:26:32
阅读次数:
1044
Problem Description Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Input each test case contains two numbers ...
分类:
其他好文 时间:
2020-04-14 20:21:08
阅读次数:
70
首先,应该建立一个消息与图片的实体,看一下微信公众号的文档: 原网址 回复文本消息<xml> <ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTi ...
分类:
微信 时间:
2020-04-14 18:31:51
阅读次数:
98
elasticsearch安装:3台es均执行相同的安装步骤 filebeat安装 kibana安装 nginx安装 elasticsearch配置 filebeat配置 kibana配置 启动服务 ...
分类:
其他好文 时间:
2020-04-14 12:41:55
阅读次数:
69
Integer i1=10; Integer i2=10; Integer i3=new Integer(10); Integer i4=new Integer(10); System.out.println(i1==i2); System.out.println(i1==i3); System.o ...
分类:
其他好文 时间:
2020-04-14 10:47:38
阅读次数:
70
参考文档:https://gobyexample.com/ 数组 package main import "fmt" func main() { var a [5]int fmt.Println("emp:", a) a[4] = 100 fmt.Println("set:", a) fmt.Pri ...
分类:
编程语言 时间:
2020-04-14 10:35:15
阅读次数:
99
连续数组。给定一个二进制数组, 找到含有相同数量的 0 和 1 的最长连续子数组的长度。例子, Example 1: Input: [0,1] Output: 2 Explanation: [0, 1] is the longest contiguous subarray with equal nu ...
分类:
其他好文 时间:
2020-04-14 10:32:28
阅读次数:
77
引言:最近一直在做一些小的小程序项目,小项目虽然小,但是前后端和管理系统都还是需要的。在甲方极低的预算下,人工又显得极其紧张,所以我大概摸索出了一套能用尽量少的代码,尽量减少单人工作量,又能实现实际需求的开发方法。 本文默认:你熟悉Vue与小程序开发,已安装npm,懂得基本控制台指令。 建议:最好能 ...
分类:
微信 时间:
2020-04-13 23:14:50
阅读次数:
157
问题: 给定数组(含有正数负数),求连续子集合和=k的子集合数。 Example 1: Input:nums = [1,1,1], k = 2 Output: 2 Note: The length of the array is in range [1, 20,000]. The range of ...
分类:
其他好文 时间:
2020-04-12 20:20:03
阅读次数:
72