Which of the below statements are true? i. Cartesian tree is not a height balanced tree ii. Cartesian tree of a sequence of unique numbers can be unique generated

Which of the below statements are true? i. Cartesian tree is not a height balanced tree ii. Cartesian tree of a sequence of unique numbers can be unique generated Correct Answer both statements are true

A height balanced cartesian tree is not possible as seen in above question. also any time a unique sequnce possess a unique cartesian tree, this can be proven through induction.
Bissoy MCQ

Related Questions

Consider a sequence of numbers to have repetitions, how a cartesian tree can be constructed in such situations without violating any rules?
Consider the given question and decide which of the following statements is sufficient to answer the question. All natural numbers are whole numbers?
(I) All natural numbers plus 0 are called whole numbers (II) Whole numbers are different from natural numbers