Baihu Qian 钱柏湖
  • Posts
  • Tag Index
  • Search
Navigation bar avatar
✕

    Posts

    • Leetcode 112: Path Sum

      Posted on June 17, 2018

      Question 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 equals the given sum. [Read More]
      Tags:
      • Leetcode
    • Leetcode 111: Minimum Depth of Binary Tree

      Posted on June 17, 2018

      Question Given a binary tree, find its minimum depth. [Read More]
      Tags:
      • Leetcode
    • Leetcode 110: Balanced Binary Tree

      Posted on June 17, 2018

      Question Given a binary tree, determine if it is height-balanced. [Read More]
      Tags:
      • Leetcode
    • Leetcode 109: Convert Sorted List to Binary Search Tree

      Posted on June 17, 2018

      Question Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. [Read More]
      Tags:
      • Leetcode
    • Leetcode 108: Convert Sorted Array to Binary Search Tree

      Posted on June 17, 2018

      Question Given an array where elements are sorted in ascending order, convert it to a height balanced BST. [Read More]
      Tags:
      • Leetcode
    • Leetcode 106: Construct Binary Tree from Inorder and Postorder Traversal

      Posted on June 17, 2018

      Question Given inorder and postorder traversal of a tree, construct the binary tree. [Read More]
      Tags:
      • Leetcode
    • Leetcode 105: Construct Binary Tree from Preorder and Inorder Traversal

      Posted on June 17, 2018

      Question Given preorder and inorder traversal of a tree, construct the binary tree. [Read More]
      Tags:
      • Leetcode
    • Leetcode 107: Binary Tree Level Order Traversal II

      Posted on June 16, 2018

      Question Given a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left to right, level by level from leaf to root). [Read More]
    • Leetcode 103: Binary Tree Zigzag Level Order Traversal

      Posted on June 16, 2018

      Question Given a binary tree, return the zigzag level order traversal of its nodes’ values. (ie, from left to right, then right to left for the next level and alternate between). [Read More]
      Tags:
      • Leetcode
    • Leetcode 102: Binary Tree Level Order Traversal

      Posted on June 16, 2018

      Question Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by level). [Read More]
      Tags:
      • Leetcode
    • Leetcode 101: Symmetric Tree

      Posted on June 16, 2018

      Question Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). [Read More]
      Tags:
      • Leetcode
    • Leetcode 98: Validate Binary Search Tree

      Posted on June 16, 2018

      Question Given a binary tree, determine if it is a valid binary search tree (BST). [Read More]
      Tags:
      • Leetcode
    • Leetcode 95: Unique Binary Search Trees II

      Posted on June 16, 2018

      Question Given an integer n, generate all structurally unique BST’s (binary search trees) that store values 1 … n. [Read More]
      Tags:
      • Leetcode
    • Leetcode 96: Unique Binary Search Trees

      Posted on June 16, 2018

      Question Given n, how many structurally unique BST’s (binary search trees) that store values 1 … n? [Read More]
      Tags:
      • Leetcode
    • Leetcode 94: Binary Tree Inorder Traversal

      Posted on June 16, 2018

      Question Given a binary tree, return the inorder traversal of its nodes’ values. [Read More]
    • ← Newer Posts
    • Older Posts →
    • Email me
    • GitHub
    • LinkedIn
    • Instagram

    Baihu Qian  •  2025  •  baihuqian.github.io  •  Edit page

    Powered by Beautiful Jekyll