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 le...
分类:
其他好文 时间:
2014-05-23 11:54:10
阅读次数:
317
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 le...
分类:
其他好文 时间:
2014-05-22 16:05:56
阅读次数:
239
249 out of 297 rated this helpful - Rate this
topic Gregory LeakeMicrosoft CorporationAlan Le, Alex Arkhipov, Mike Hanley, and
Steve NyholmVertigo So....
分类:
移动开发 时间:
2014-05-18 02:52:25
阅读次数:
430
Given a linked list, reverse the nodes of a
linked list k at a time and return its modified list.If the number of nodes is
not a multiple of k then le...
分类:
其他好文 时间:
2014-05-18 01:53:53
阅读次数:
331
#include#include#include#includeusing namespace
std;int main(){ int t; string s; cin>>t; while(t--) { cin>>s; int
ls=s.le...
分类:
其他好文 时间:
2014-05-18 00:04:05
阅读次数:
246
一、字符串编码为gb2312,一个中文占俩字节public static function
chinesesubstr($str, $start, $len) { // $str指字符串,$start指字符串的起始位置,$len指字符串长度
$strlen = $start + $le...
分类:
Web程序 时间:
2014-05-17 22:47:15
阅读次数:
520
批量添加用户#!/bin/bashi=1while [ $i -le 20 ]do
useradd stu$i echo "123456" | passwd --stdin stu$i &> /dev/null
i=$(($i+1))done# 删除用户#!/bin/bash# 批...
分类:
其他好文 时间:
2014-05-15 21:11:33
阅读次数:
218
几个单词
Hierarchy
['ha??rɑ?k?]
n. 层级
思考:每个视图有一个父视图,有0个或者多个子视图
Manipulation
[m?,n?pj?'le??(?)n] n.
操纵;操作
Descendant
[d?'send(?)nt]
n. 后裔;子孙
UIWindow
Feature:
1、UIWindow set up...
分类:
其他好文 时间:
2014-05-15 12:13:20
阅读次数:
430
证明:令$\alpha = {\inf }\limits_{n \ge 1} \left\{
{\frac{{\ln {a_n}}}{n}} \right\}$,由下极限的定义知\[\alpha \le \mathop {\underline {\lim
} }\limits_{n \to \inf...
分类:
其他好文 时间:
2014-05-10 18:00:22
阅读次数:
317
1 2 #include 3 #include 4 #include 5 #include 6
#include 7 8 using namespace std; 9 struct node 10 { 11 int data; 12 int le...
分类:
其他好文 时间:
2014-05-08 10:31:35
阅读次数:
362