• + 0 comments

    Am I completely mistaken, but will not a cartesian tree based on the indices always form a linked list? Left node will always be empty???