与‘数据结构-笛卡尔树’有关的日志

poj2201

maksyuki 发表于 oj 分类,标签:
0
poj2201

Cartesian Tree

Let us consider a special type of a binary search tree, called a cartesian tree. Recall that a binary search tree is a rooted ordered binary tree, such that for its every node x the following condition is satisfied: each node in its >>继续阅读

poj1785

maksyuki 发表于 oj 分类,标签:
0
poj1785

Binary Search Heap Construction

Read the statement of problem G for the definitions concerning trees. In the following we define the basic terminology of heaps. A heap is a tree whose internal nodes have each assigned a priority >>继续阅读