Cartesian tree#1314

Cartesian tree (Discussion)