1.下载
http://gogs.io/docs/installation/install_from_binary.html
下载最新版的
wget https://github.com/gogits/gogs/releases/download/v0.6.1/linux_amd64.zip
2.新建用户
adduser git密码自己输入
3.解压缩
unz...
分类:
系统相关 时间:
2015-05-07 14:39:11
阅读次数:
229
Populating Next Right Pointers in Each NodeGiven a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLi...
分类:
其他好文 时间:
2015-05-07 14:23:26
阅读次数:
157
Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3, there are a total of 5 unique BST'...
分类:
其他好文 时间:
2015-05-07 13:54:38
阅读次数:
99
Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For exampl...
分类:
其他好文 时间:
2015-05-07 10:01:09
阅读次数:
101
UVA - 12063
Zeros and Ones
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Binary numbers and their pattern o...
分类:
其他好文 时间:
2015-05-07 06:30:27
阅读次数:
220
题目:Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3]....
分类:
其他好文 时间:
2015-05-07 06:27:10
阅读次数:
118
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
基本思路:
深度优先遍历。
在leetcode上实行执行时间...
分类:
其他好文 时间:
2015-05-06 23:08:25
阅读次数:
184
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-05-06 21:02:41
阅读次数:
134
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between).
For example:
Given binary ...
分类:
其他好文 时间:
2015-05-06 17:50:43
阅读次数:
111
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:
其他好文 时间:
2015-05-06 15:01:56
阅读次数:
84