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-07-22 23:07:13
阅读次数:
379
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given
a linked list, remove thenthnode from the end of list and return its he...
分类:
编程语言 时间:
2014-05-01 06:42:15
阅读次数:
332
hello everyone.This is a heading with no
positionThis heading is moved left according to its normal positionThis heading
is moved right according t...
分类:
Web程序 时间:
2014-04-29 15:47:14
阅读次数:
584
Cover with polyethylene plastic film intended
for system United States Postal Service . These plastic envelopes are resistant
to puncture and tear, wa...
分类:
数据库 时间:
2014-04-29 10:11:47
阅读次数:
568
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-04-28 10:46:41
阅读次数:
311
Problem illustration:given a n*n matrix, print
its transition, for example , 90 degree clockwise,using only constant additional
spaceanalysis:using O(...
分类:
其他好文 时间:
2014-04-28 03:22:07
阅读次数:
513
??
1、Binary Tree Postorder Traversal
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
retu...
分类:
其他好文 时间:
2014-04-27 18:58:59
阅读次数:
481