Cartesian Tree