Struct competitive_programming_rs::data_structure::segment_tree::SegmentTree[][src]

pub struct SegmentTree<T, F> { /* fields omitted */ }

Segment Tree for range queries

Methods

impl<T: Copy, F> SegmentTree<T, F> where
    F: Fn(T, T) -> T, 
[src]

Get the minimum value in the array in the range [a, b)

Panics

Panics if a >= b.

Auto Trait Implementations

impl<T, F> Send for SegmentTree<T, F> where
    F: Send,
    T: Send

impl<T, F> Sync for SegmentTree<T, F> where
    F: Sync,
    T: Sync