Tomcat的安装和配置1.首先是在Apache的官方网站上去下载最新的Tomcat的binary distribution,下载core下面的链接(安装版本),注意下载tar.gz或者zip,不要下成windows版本的了。2.下载完成后解压,并且重命名为Tomcat3.将重命名后的文件夹移动到根...
分类:
系统相关 时间:
2015-10-27 01:46:20
阅读次数:
216
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/49432057
Given a binary tree, return all root-to-leaf paths.
For example, given the following binary tree:...
分类:
其他好文 时间:
2015-10-27 00:33:29
阅读次数:
159
1、共同的打开文件方式: fin.open("test.txt",ios::binary) fout.open("test.txt",ios::binary) fboth.open("test.txt",ios::in|ios::out|ios::binary...
分类:
编程语言 时间:
2015-10-27 00:11:40
阅读次数:
395
Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note...
分类:
其他好文 时间:
2015-10-26 20:36:30
阅读次数:
159
Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". char* addBinary(char* a, char* b) { int as...
分类:
其他好文 时间:
2015-10-26 18:21:06
阅读次数:
137
1,今天在hacknews上看到很多人对messagepack的争论。首先了解什么是MessagePack:MessagePack is a binary-based efficient object serialization library. It enables to exchange str...
分类:
其他好文 时间:
2015-10-26 13:30:00
阅读次数:
201
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2015-10-26 12:08:19
阅读次数:
191
Given a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from left to right, then right to left for the next level and al...
分类:
其他好文 时间:
2015-10-26 11:46:58
阅读次数:
172
Two methods:1. Traverse2. Divide & Conquer 1 // Traverse: usually do not have return value 2 public class Solution { 3 public void traverse(TreeNo...
分类:
其他好文 时间:
2015-10-26 01:56:04
阅读次数:
209
Use one queue + size variable 1 public class Solution { 2 public ArrayList> levelOrder(TreeNode root) { 3 ArrayList result = new ArrayList...
分类:
其他好文 时间:
2015-10-26 01:49:59
阅读次数:
300