忠奸人

忠奸人

    • Home
    • Archives
    • About

Path Sum

Path Sum题目Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equ

2015-06-25

Minimum Depth of Binary Tree

Minimum Depth of Binary Tree题目Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path

2015-06-25

Balanced Binary Tree

Balanced Binary Tree题目Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as

2015-06-25

Convert Sorted Array to Binary Search Tree

Convert Sorted Array to Binary Search Tree题目Given an array where elements are sorted in ascending order, convert it to a height balanced BST

2015-06-25

Binary Tree Level Order Traversal II

Binary Tree Level Order Traversal II题目Given a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left t

2015-06-25

Construct Binary Tree from Inorder and Postorder Traversal

Construct Binary Tree from Inorder and Postorder Traversal题目Given inorder and postorder traversal of a tree, construct the binary tree. Note

2015-06-25

Construct Binary Tree from Preorder and Inorder Traversal

Construct Binary Tree from Preorder and Inorder Traversal题目Given preorder and inorder traversal of a tree, construct the binary tree. Note:

2015-06-25

Maximum Depth of Binary Tree

Maximum Depth of Binary Tree题目Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path f

2015-06-23

Binary Tree Zigzag Level Order Traversal

Binary Tree Zigzag Level Order Traversal题目Given a binary tree, return the zigzag level order traversal of its nodes’ values. (ie, from left

2015-06-23

Binary Tree Level Order Traversal

Binary Tree Level Order Traversal题目Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, leve

2015-06-23
Prev123456Next

分类

  • leetcode57

标签

  • leetcode,tree28
  • leetcode,linkList20
  • leetcode,stack7
  • leetcode1
  • leetcode,dfs1

友情链接

  • 码农圈
  • Jark's Blog
  • 劝儒乡
RSS 订阅

新浪微博

生命不息,战斗不止!!!
This is my blog,believe it or not.

Powered by hexo and Theme by Jacman © 2015 yzbachelor