Given two binary trees original and cloned and given a reference to a node target in the original tree. The cloned tree is a copy of the original tree ...
分类:
其他好文 时间:
2020-04-15 09:14:36
阅读次数:
74
题目描述 在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。 public class Solution { public boolean Find(int ...
分类:
编程语言 时间:
2020-04-14 22:55:44
阅读次数:
75
首先,今天下午对OneloT项目进行试图修改,我向在在线的时候先将接口中的数据缓存到本地,通过文件写入的方式,但是没有成功,捣鼓了一会。重新启动浏览器,发现命令行报错,error cannot find module less-loader; (1)此问题属于插件问题,vue-cli 运行未找到相关 ...
分类:
其他好文 时间:
2020-04-14 22:39:02
阅读次数:
114
Time Limit: 2 sec / Memory Limit: 1024 MB ps:我的vector需要加强,用错了。 Problem Statement We have a string SS of length N consisting of R, G, and B. Find the n ...
分类:
其他好文 时间:
2020-04-14 20:41:36
阅读次数:
78
搭建Android环境的时候遇到 'could not find adb.exe!'的问题 如果是在的C:\android-sdk-windows\tools目录下并没有adb.exe这个可执行文件。并且当打开Eclipse时,有关Android的插件会报错。这时你就应该这样做: 首先,改一下系统的 ...
分类:
移动开发 时间:
2020-04-14 18:52:11
阅读次数:
224
1.whereis 文件名 特点:快速,但是是模糊查找 例如: whereis php #会把php,php.ini,php.*所在的目录都找出来. 2.find / -name 文件名 特点:准确,但速度慢,消耗资源大 例如: 如果想找到php.ini的准确位置,需要用 #find / -name ...
分类:
系统相关 时间:
2020-04-14 12:43:01
阅读次数:
92
kafa部署在k8s中,并且使用statefulset 方式部署,应用pod连接kafka 使用 kafka-0.kafka-hs.sy-platform-demo.svc.cluster.local.:9093, 如果k8s 外部开发测试,无法连接,所以需要外部网络与pod service网络打通 ...
分类:
其他好文 时间:
2020-04-14 12:28:52
阅读次数:
321
查看 /var/log目录下文件个数 方法1. [root@oldboy learn_shell]# tree -L 1 /var/log/ |tail -1 5 directories, 42 files [root@oldboy]# tree -L 1 /var/log/ |tail -1 |c ...
分类:
其他好文 时间:
2020-04-14 10:54:57
阅读次数:
138
在项目中有用到OAuth2,这里记录下研究成功。详细介绍可参考官方文档:https://tools.ietf.org/html/rfc6749 准备工作: 1、spring-oauth-server 认证服务器和资源服务器(也可以分开)。作为一个jar包提供给客户端使用 2、spring-secur ...
分类:
其他好文 时间:
2020-04-14 10:29:54
阅读次数:
95
find the phase difference between two singnals matlab code % phase lag of sine and cosine function % https://www.mathworks.com/help/signal/ug/cross-co ...
分类:
其他好文 时间:
2020-04-13 22:56:11
阅读次数:
81