You are viewing a single comment's thread. Return to all 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???
Seems like cookies are disabled on this browser, please enable them to open this website
Swaps and Sum
You are viewing a single comment's thread. Return to all 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???