MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / build_recursive

Method build_recursive

src/data_structures/lazy_segment_tree.rs:27–42  ·  view source on GitHub ↗
(
        &mut self,
        arr: &[T],
        idx: usize,
        range: Range<usize>,
        merge: fn(T, T) -> T,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

from_vecMethod · 0.45

Calls 1

mergeFunction · 0.70

Tested by

no test coverage detected