@requires_authorization @author johnsondu @create_time 2015.7.15 11:00 @url [add binary](https://leetcode.com/problems/add-binary/) /***************** ...
分类:
其他好文 时间:
2017-06-22 10:14:59
阅读次数:
199
2.3进制转换 使用int存一个整数时。内存中是用二进制存储的,当要显示的时候。用十进制显示。 随意进制间的转换 n进制转m进制 String s = “2001201102” 3进制转换为5进制 先转换为2进制。再转换为5进制 /* 随意进制间的转换 n进制转m进制 String s = “200 ...
分类:
编程语言 时间:
2017-06-22 10:09:30
阅读次数:
140
100. Same Tree Total Accepted: 100129 Total Submissions: 236623 Difficulty: Easy Given two binary trees, write a function to check if they are equal o ...
分类:
其他好文 时间:
2017-06-22 10:05:21
阅读次数:
117
https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/#/solutions http://www.cnblogs.com/EdwardLiu/p/6109080.html Solution 2 : Binary ...
分类:
其他好文 时间:
2017-06-22 00:16:28
阅读次数:
131
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the definition of LCA on Wikipedia ...
分类:
其他好文 时间:
2017-06-21 21:57:09
阅读次数:
157
开发人员只需要写代码,提交到svn或者Git上 1.Jenkins从代码库中(svn,git)上拉取源代码2.通过maven等编译工具对工程进行构建,产生war包3.把war包部署(shell)到Tomcat上,使web跑起来。 1.安装最新稳定版 1.安装web部分 sudo apt-get in ...
分类:
其他好文 时间:
2017-06-21 14:14:40
阅读次数:
236
Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are n ...
分类:
其他好文 时间:
2017-06-21 14:14:34
阅读次数:
231
1、安装percona-xtrabackup#下载安装包:#cd/usr/local/src
#wgethttps://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.3.2/binary/redhat/6/x86_64/percona-xtrabackup-2.3.2-1.el6.x86_64.rpm#安装依赖库:#yum-yinstallperlperl-devellibaiolibaio-develperl..
分类:
数据库 时间:
2017-06-21 11:55:08
阅读次数:
218
Problem statement Given the root of a binary tree, then value v and depth d, you need to add a row of nodes with value v at the given depth d. The roo ...
分类:
其他好文 时间:
2017-06-21 11:43:15
阅读次数:
205