1 - Tomcat Server的组成部分1.1 - ServerA Server element represents the entire Catalina servlet container. (Singleton)1.2 - ServiceA Service element represents the combination of one or more Connector compo ...
分类:
其他 时间:
2015-06-19 02:03:28
收藏:
0 评论:
0 赞:
0 阅读:
222
#Jfinal2.0新特性初探 **Jfinal2.0发布了,我认为这个是里程碑式的发布,新加了不少好功能,这个博文主要是写个那些不想看文档,又想知道Jfinal2.0到底有什么新变动的同学们的,希望你们看完以后,会更加认识Jfi...
分类:
其他 时间:
2015-06-19 01:33:18
收藏:
0 评论:
0 赞:
0 阅读:
1912
int atoi (const char * str); //Convert string to integer
char * itoa ( int value, char * str, int base ); //Convert integer to string (non-standard function)
#include
#include
int my_atoi(con...
分类:
其他 时间:
2015-06-19 01:32:18
收藏:
0 评论:
0 赞:
0 阅读:
329
题目来自于:
https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
这一题目其实我想说的还不是我的代码,是之前在写代码中遇到的一个bug问题。后面会进行详细的解释
Construct Binary Tree from Preorder and Inord...
分类:
其他 时间:
2015-06-19 01:32:08
收藏:
0 评论:
0 赞:
0 阅读:
332
3053: The Closest M Points
Time Limit: 10 Sec Memory Limit: 128 MB
Submit: 442 Solved: 173
[Submit][Status][Discuss]
Description
The course of Software Design and Development Practice is obje...
分类:
其他 时间:
2015-06-19 01:31:59
收藏:
0 评论:
0 赞:
0 阅读:
220
Leetcode 224: Basic Calculator
java c++ python...
分类:
其他 时间:
2015-06-19 01:31:20
收藏:
0 评论:
0 赞:
0 阅读:
172
leetcode 225: Implement Stack using Queues
python java c++...
分类:
其他 时间:
2015-06-19 01:31:17
收藏:
0 评论:
0 赞:
0 阅读:
329
Pull XML解析器早已经被google集成到android sdk当中,它是google官方推荐的解析器。
如果我们要在Java桌面、J2ME等当中使用Pull方式生成xml文件和解析xml文件,需要用到kxml2;
KXML解析器是基于普通XML PULL解析器的一个小巧的解析器,官网是http://kxml.org/
普通XML PULL解析器的官网是http://x...
分类:
编程语言 时间:
2015-06-19 01:31:16
收藏:
0 评论:
0 赞:
0 阅读:
372
leetcode 226: Invert Binary Tree
python java c++...
分类:
其他 时间:
2015-06-19 01:30:49
收藏:
0 评论:
0 赞:
0 阅读:
263
??1 布局文件, LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou...
分类:
移动平台 时间:
2015-06-19 01:30:09
收藏:
0 评论:
0 赞:
0 阅读:
371
一、希尔排序(Shell Sort)
希尔排序(Shell Sort)是一种插入排序算法,因D.L.Shell于1959年提出而得名。Shell排序又称作缩小增量排序。
二、希尔排序的基本思想
希尔排序的中心思想就是:将数据进行分组,然后对每一组数据进行排序,在每一组数据都有序之后
,就可以对所有的分组利用插入排序进行最后一次排序。这样可以显著减少交换的次数,以达到加快排序速度的...
分类:
编程语言 时间:
2015-06-19 01:29:58
收藏:
0 评论:
0 赞:
0 阅读:
240
一、层次节点的概述 节点的层次结构可以划分为:父节点与子节点、兄弟节点这两种。当我们获取其中一个元素节点的时候,就可以使用层次节点属性来获取它相关层次的节点。 二、childNodes 属性 childeNodes 属性可以获取某一个元素节点的所有子节点,这些子节点包含元素子节点和文本子节点。...
分类:
编程语言 时间:
2015-06-19 01:28:58
收藏:
0 评论:
0 赞:
0 阅读:
374
Rocket Server 启动一个线程监听客户端的连接,收到连接将连接放置到队列中。线程池中的Worker会以这个连接进行初始化。Rocket中Worker的基类是: class Worker(Thread): """The Worker class is a base class respons...
分类:
Web开发 时间:
2015-06-19 01:28:38
收藏:
0 评论:
0 赞:
0 阅读:
308
public:访问不受限制。 1 class PointTest 2 { 3 public int x; 4 public int y; 5 } 6 7 class MainClass4 8 { 9 static void Main() 10 {11 ...
分类:
Windows开发 时间:
2015-06-19 01:26:58
收藏:
0 评论:
0 赞:
0 阅读:
295
当我开始写文章时,已经快12点了,为什么不睡觉?因为还有半小时有CF div2 。 趁着现在有空,有感而发,回顾我的ACM之大一。我第一次接触ACM是在叶老师的宣讲会上,那时就被忽悠了,我单纯地认为参加了ACM才能追上国内高校顶尖学子,不进ACM大学平平淡淡,我就平平庸庸了。于是,那天开始我就...
分类:
其他 时间:
2015-06-19 01:26:28
收藏:
0 评论:
0 赞:
0 阅读:
285
https://leetcode.com/problems/remove-element/Given an array and a value, remove all instances of that value in place and return the new length.The ord...
分类:
其他 时间:
2015-06-19 01:26:08
收藏:
0 评论:
0 赞:
0 阅读:
247