题目描述 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 neare ...
分类:
其他好文 时间:
2019-07-22 16:33:28
阅读次数:
60
A Eddy Walker 题意 你有n个点(0~n-1),按顺序形成一个环,初始时你在0的位子,你随机顺时针走一步或者逆时针走一步, 一旦你走到一个点后,环上所有点都被经过至少一次后,你就必须停下来。 问你最后停留在m这个位子的概率是多少。 思路 有意思的概率题。 读懂题意后发现这道题不难,模拟下 ...
一、常见的web中间件(web容器) https://www.jianshu.com/p/1e82b7a18866 apache tomcat(springboot内置) Jboss Web Logic lammp=linux+apache+mysql+php+pel 为什么要监控web中间件?? ...
分类:
Web程序 时间:
2019-07-20 21:10:43
阅读次数:
551
https://juejin.im/post/5a4ae29b6fb9a04504083cac ...
分类:
Web程序 时间:
2019-07-19 18:33:19
阅读次数:
216
项目是早就创建好了(新创建的项目一般不会遇到这个问题), 在我添加平台时(ionic cordova platform add android) 报了以下错误: [cordova-res] WARN: Error with source file resources/splash.png: The ...
分类:
其他好文 时间:
2019-07-19 18:27:06
阅读次数:
132
基本介绍 数值按钮控件,控件可设置左侧或右侧的上/下按钮来控制数值的增减。 常设置属性 InterceptArrowKeys:是否启用点击上下箭头增减控件数值; Increment:每次点击上下箭头增减控件数值的数量; Maximum:指示数值控件的最大值; Minimum:指示数值控件的最小值; ...
A car travels from a starting position to a destination which is miles east of the starting position. Along the way, there are gas stations. Each repr ...
分类:
其他好文 时间:
2019-07-15 01:31:09
阅读次数:
163
问题描述 We have a graph with N vertices, numbered 0 through N ?1. Edges are yet to be added. We will process Q queries to add edges. In the i th (1≦ i ≦ ...
分类:
其他好文 时间:
2019-07-14 14:49:03
阅读次数:
91
前面做了地图怪物的添加,删除,查询等功能。但添加怪物的时候,需要选择怪物所在地图。前几张的源代码中,我忘了把这部分改回去,所以如果想要成功添加,需要自己改一下html界面,手动填写怪物所在地图的ID。然而,我们配置的时候,地图ID并不是固定的,而是数据库自增的。所以这里最好做成一个弹窗,点击后弹出一 ...
分类:
其他好文 时间:
2019-07-09 13:46:53
阅读次数:
125
Java StringBuffer和StringBuilder类 当对字符串进行修改的时候,需要使用StringBuffer和StringBuilder类。 和String类不同的是,StringBuffer和StringBuilder类的对象能够被多次的修改,并且不产生新的未使用对象。 Strin ...
分类:
编程语言 时间:
2019-07-08 19:48:50
阅读次数:
137