Everything About ___
Live briefing

Everything about Cartesian tree

Binary tree derived from a sequence of numbers

In computer science, a Cartesian tree is a binary tree derived from a sequence of distinct numbers. To construct the Cartesian tree, set its root to be the minimum number in the sequence, and recursively construct its left and right subtrees from the subsequences before and after this number. It is uniquely defined as a min-heap whose symmetric (in-order) traversal returns the original sequence. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Cartesian treeA 5-minute orientation
  2. Skim a recent paper: An efficient tree-topological local mesh refinement on Cartesian grids for multiple moving objects in incompressible flowInfluential work since 2022
  3. Pick up a classic book: Discrete and combinatorial mathematicsThe most-reprinted book on the subject
  4. Read the landmark paper: Fast algorithms for single and multiple pattern Cartesian tree matchingCited 25 times
  5. Go sideways: TreapA closely related topic
  6. Go sideways: Heap (data structure)A closely related topic

📖 Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics