[][src]Function geen::algos::find_peaks

pub fn find_peaks(size: usize) -> Vec<usize>

Gets the postorder traversal index of all peaks in a MMR given its size. Starts with the top peak, which is always on the left side of the range, and navigates toward lower siblings toward the right of the range.