#树和图
该标签下的全部文章。
Construct Binary Tree from Inorder and Postorder Traversal
Given inorder and postorder traversal of a tree, construct the binary tree.
Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree.
Binary Tree to Linked List
Covert a binary tree to linked lists. Each linked list is correspondent to all the nodes at the same level.
BST Sequences
A binary search tree was created by traversing through an array from left to right and inserting each element.
Build Order
You are given a list of projects and a list of projects and a list of dependencies (which is a list of pairs o