码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
【leetcode】67. Add Binary
@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进制转换
2.3进制转换 使用int存一个整数时。内存中是用二进制存储的,当要显示的时候。用十进制显示。 随意进制间的转换 n进制转m进制 String s = “2001201102” 3进制转换为5进制 先转换为2进制。再转换为5进制 /* 随意进制间的转换 n进制转m进制 String s = “200 ...
分类:编程语言   时间:2017-06-22 10:09:30    阅读次数:140
<LeetCode OJ> 100. Same Tree
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
378. Kth Smallest Element in a Sorted Matrix
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
leetCode(38):Lowest Common Ancestor of a Binary Search Tree
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
jenkins安装
开发人员只需要写代码,提交到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
[LeetCode] Merge Two Binary Trees 合并二叉树
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
二分查找
直接上代码 ...
分类:其他好文   时间:2017-06-21 13:44:46    阅读次数:125
使用xtrabackup备份和还原mysql的多实例
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
623. Add One Row to Tree
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!