摘要:
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from lea... 阅读全文
posted @ 2012-11-06 15:58
程序员杰诺斯
阅读(146)
评论(0)
推荐(0)
摘要:
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given... 阅读全文
posted @ 2012-11-06 15:30
程序员杰诺斯
阅读(121)
评论(0)
推荐(0)
摘要:
Given a binary tree, return the inorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / ... 阅读全文
posted @ 2012-11-06 12:01
程序员杰诺斯
阅读(110)
评论(0)
推荐(0)
摘要:
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit.... 阅读全文
posted @ 2012-11-06 11:07
程序员杰诺斯
阅读(100)
评论(0)
推荐(0)

浙公网安备 33010602011771号