1. TitleMinimum Depth of Binary Tree2. Http addresshttps://leetcode.com/problems/minimum-depth-of-binary-tree/3. The questionGiven a binary tree, find...
分类:
其他好文 时间:
2015-11-16 22:35:55
阅读次数:
130
LeetCode 235 Lowest Common Ancestor of a Binary Search Tree/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct Tr...
分类:
其他好文 时间:
2015-11-16 09:28:43
阅读次数:
233
Intro This makefile will always run. The default target is some_binary, because it is first.some_binary: echo "nothing"Intro This file will make some_...
分类:
Web程序 时间:
2015-11-15 17:30:10
阅读次数:
169
//xcode 7 找不到.dylib 用.tbd 替换 但是不能替换使用 可以使用以下方法添加//隐藏文件目录,target---build phases--- link binary with libraries---添加---add ohter---command+shift+G----/.....
分类:
其他好文 时间:
2015-11-14 23:19:35
阅读次数:
311
A. BitsLet's denote asthe number of bits set ('1' bits) in the binary representation of the non-negative integerx.You are given multiple queries consi...
分类:
其他好文 时间:
2015-11-14 22:03:52
阅读次数:
301
Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1.....
分类:
其他好文 时间:
2015-11-14 11:02:35
阅读次数:
275
http{limit_req_zone $binary_remote_addr zone=req_one:10m rate=100r/s; server { listen 8080; server_name localhost; location /s...
分类:
其他好文 时间:
2015-11-13 20:42:41
阅读次数:
265
这几天一直在开rpm,现在来介绍下rpm的应用:RPM是RedHatPackageManager(RedHat软件包管理工具)类似Windows里面的“添加/删除程序”rpm执行安装包二进制包(Binary)以及源代码包(Source)两种。二进制包可以直接安装在计算机中,而源代码包将会由RPM自动编译、安装。源代码..
分类:
其他好文 时间:
2015-11-13 19:08:48
阅读次数:
386
关于二叉树,目前在leetcode中遇到了两道题目,一道是二叉树的最大深度,一道是二叉树的最小深度;关于二叉树,整好借此机会再学习一下;二叉树是一种特殊的树,在二叉树中每个节点最多有两个子节点,一般称为左子节点和右子节点(或左孩子和右孩子),并且二叉树的子树有左右之分,其次序不能任意颠倒。二叉树是递...
分类:
其他好文 时间:
2015-11-13 06:18:37
阅读次数:
274
Tree RecoveryTime Limit:1000MSMemory Limit:65536KTotal Submissions:13000Accepted:8112DescriptionLittle Valentine liked playing with binary trees very ...
分类:
其他好文 时间:
2015-11-12 20:15:18
阅读次数:
260