add Cartesian Tree algorithm and its problem.