
单个指针
文章平均质量分 72
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 152. Maximum Product Subarray(最大乘积)
原题网址:https://leetcode.com/problems/maximum-product-subarray/ Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the原创 2016-05-26 01:04:48 · 1035 阅读 · 0 评论 -
LeetCode 145. Binary Tree Postorder Traversal(二叉树后序遍历)
原题网址:https://leetcode.com/problems/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原创 2016-05-26 01:31:28 · 537 阅读 · 0 评论