码迷,mamicode.com
首页 >  
搜索关键字:dep    ( 3364个结果
23-104. Maximum Depth of Binary Tree
题目描述: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the fart ...
分类:其他好文   时间:2019-06-14 00:46:20    阅读次数:101
mysql数据库同步系统otter部署实践(中国与欧洲同步)
[本博客已经迁移到http://blog.csdn.net/qq_28106715/article/details/71405507] [本博客已经迁移到http://blog.csdn.net/qq_28106715/article/details/71405507] [以下内容不再维护] [以下 ...
分类:数据库   时间:2019-06-13 22:20:54    阅读次数:201
SpringBoot学习(2):底层源码架构分析引导类注解的具体实现
1 ...
分类:编程语言   时间:2019-06-13 22:14:59    阅读次数:161
java 之webmagic 网络爬虫
webmagic简介: WebMagic是一个简单灵活的Java爬虫框架。你可以快速开发出一个高效、易维护的爬虫。 http://webmagic.io/ 准备工作: Maven依赖(我这里用的Maven创建的web项目做测试): <dependencies> <!-- junit --> <dep ...
分类:编程语言   时间:2019-06-13 17:24:17    阅读次数:142
graphQL 启动报错No method or field found with any of the following signatures (with or without one of [interface graphql.schema.DataFetchingEnvironment] as the last argument), in priority order:
root.graphqls 这个文件用来定义属性字段,必须和实体类相同 文件里面的字段写错会报这个错误 com.coxautodev.graphql.tools.FieldResolverError: No method or field found with any of the followin ...
分类:Windows程序   时间:2019-06-09 23:53:42    阅读次数:221
[SPOJ375]QTREE
这题可能是QZC论文中最板子的题了。。 我们只需要把边权记在比边深的点上,然后便就是树链剖分的板子了。。 由于题目卡语言。。以下代码需要转C才能过。。 cpp include using namespace std; const int N = 10005; int dep[N],siz[N],fa ...
分类:其他好文   时间:2019-06-09 09:16:06    阅读次数:79
Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.
/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ import ... ...
分类:其他好文   时间:2019-06-08 15:11:15    阅读次数:99
mybatis多表关联查询
在以往的项目中,多表关联查询使用外键进行关联,在实体类中写的属性也是外键,在使用mybatis时,需要进行调整。需要用到的数据库如下: -- -- Table structure for dept -- DROP TABLE IF EXISTS `dept`; CREATE TABLE `dept` ...
分类:其他好文   时间:2019-06-07 23:07:58    阅读次数:113
Python并发编程—同步互斥
同步互斥 线程间通信方法 1.通信方法:线程间使用全局变量进行通信 2.共享资源争夺 共享资源:多个进程或者线程都可以操作的资源称为共享资源。对共享资源的操作代码段称为临界区。 影响 : 对共享资源的无序操作可能会带来数据的混乱,或者操作错误。此时往往需要同步互斥机制协调操作顺序。 3.同步互斥机制 ...
分类:编程语言   时间:2019-06-07 22:42:23    阅读次数:154
tomcat修改默认主页, 前段项目放到tomcat下,浏览器输入ip加端口后,直接到项目主页
1,将 项目 放到 tomcat 的webapps 文件夹下 2, 修改conf 下的 server.xml , 找到 <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> 在 Host 标签 下加 ...
分类:其他好文   时间:2019-06-07 12:39:56    阅读次数:99
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!