阅读背景:

18.12.20 DSA 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 left subtree has the key less then the key of x, and each node in its right subtree has the key greater then the key of x.Let us consider a special type of a binary sear




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: