cartesian_tree_fully
関数 · Cartesian Tree
template <typename T>
std::vector<internal::node_t> cartesian_tree_fully(const std::vector<T> &v);
概要
Cartesian Tree
計算量
- $O(n)$
関連項目
cartesian_tree— Cartesian Tree
関数 · Cartesian Tree
template <typename T>
std::vector<internal::node_t> cartesian_tree_fully(const std::vector<T> &v);
Cartesian Tree
cartesian_tree — Cartesian Tree