MCPcopy Create free account
hub / github.com/EbTech/rust-algorithms / first_negative

Function first_negative

src/range_query/dynamic_arq.rs:172–185  ·  view source on GitHub ↗

An example of binary search to find the first position whose element is negative. The DynamicArq version works on trees of any size, not necessarily a power of two.

(arq: &mut DynamicArq<super::specs::AssignMin>, view: ArqView)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected