http://blog.csdn.net/angus_17/article/details/8493448binary 二进制,数据流,也可以转化成 1100011类似的protobuf 是google的,二进制的数据传输协议,性能比 xml 和 json 号。 但 可读性 差Thrift 是 Fa...
分类:
Web程序 时间:
2014-07-11 21:30:15
阅读次数:
295
题目:Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.说明: 1)二叉树可.....
分类:
其他好文 时间:
2014-07-11 21:07:27
阅读次数:
273
题目:Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.说明: 1)实现与.....
分类:
其他好文 时间:
2014-07-11 20:40:38
阅读次数:
198
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100"class Solution {public: string addBinary(stri...
分类:
其他好文 时间:
2014-07-11 20:05:47
阅读次数:
224
最近在研究登陆密码的加密,下边上具体代码,只是给出核心代码,具体的代码视业务而定吧,给位有什么问题或者意见请留言。加密方法用的是AES-128-CBC,BASE64用的是org.apache.commons.codec.binary.Base64JS代码:var password = "123456...
分类:
编程语言 时间:
2014-07-11 19:30:48
阅读次数:
606
用sitemesh框架解决项目统一布局的解决方案http://edu.ibeifeng.com/view-index-id-80.html实现java程序调用oracle的存储过程解决方案http://edu.ibeifeng.com/view-index-id-78.html命令模式在java w...
分类:
编程语言 时间:
2014-07-11 18:01:19
阅读次数:
176
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4085138559951339Ancient CipherAcceptedC++0.0122014...
分类:
其他好文 时间:
2014-07-11 09:55:46
阅读次数:
236
Search Insert PositionGiven a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if ...
分类:
其他好文 时间:
2014-07-11 09:09:33
阅读次数:
211
/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; ...
分类:
其他好文 时间:
2014-07-11 08:58:23
阅读次数:
207
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.思路:递归。主要是注意调用时起...
分类:
其他好文 时间:
2014-07-10 14:40:07
阅读次数:
196