摘要: minimum depth of binary tree ​Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest... 阅读全文
posted @ 2018-11-23 23:57 走走停停yyl 阅读(271) 评论(0) 推荐(0) 编辑
摘要: maximum depth of binary tree ​Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest ... 阅读全文
posted @ 2018-11-23 23:54 走走停停yyl 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1. 当Fragment第一次被加载到屏幕上时:11-15 13:05:26.981 3013-3013/cn.edu.npu.fragmenttest D/RightFragment: onAttach: 11-15 13:05:26.981 3013-3013/c... 阅读全文
posted @ 2018-11-15 13:19 走走停停yyl 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1》打开MainActivity11-05 21:18:41.929 15123-15123/cn.edu.npu.activitylifecycletest D/MainActivity: *********onCreate*********11-05 21:18:... 阅读全文
posted @ 2018-11-05 21:29 走走停停yyl 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1. 装饰者模式举个栗子,假如在一家饮料店中有两种饮料,分别是奶茶和咖啡,相对的有三种调料,蜂蜜、块糖和摩卡,这样消费者就有不同的消费组合,比如加糖摩卡咖啡、蜂蜜摩卡咖啡,加糖奶茶......如果饮料的种类或者调料的种类增多,那么消费组合就会相应的增多,反映到编程代码... 阅读全文
posted @ 2018-09-15 22:44 走走停停yyl 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 目录1.前端页面2.实体类beans3.工具类Dao4.Servlet类5.JDBC工具类6.XML文件7.项目源码这里主要用JSP方式实现了基本的注册功能。项目名称为NWPU_JavaWeb_Project。项目目录的组织结构为:1.前端页面前端页面比较简陋,只实现... 阅读全文
posted @ 2018-09-15 19:24 走走停停yyl 阅读(589) 评论(0) 推荐(0) 编辑
摘要: JSON:一种轻量级的数据交换格式,具有良好的可读和便于快速编写的特性。业内主流技术为其提供了完整的解决方案(有点类似于正则表达式 ,获得了当今大部分语言的支持),从而可以在不同平台间进行数据交换。JSON采用兼容性很高的文本格式,同时也具备类似于C语言体系的行为。... 阅读全文
posted @ 2016-10-09 17:57 走走停停yyl 阅读(72) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-05-08 13:26 走走停停yyl 阅读(4) 评论(0) 推荐(0) 编辑