MCPcopy Index your code
hub / github.com/TheAlgorithms/Rust / pop

Method pop

src/data_structures/heap.rs:88–97  ·  view source on GitHub ↗

Removes and returns the root element from the heap. # Returns The root element if the heap is not empty, otherwise `None`.

(&mut self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

graham_scanFunction · 0.45
jarvis_marchFunction · 0.45
ramer_douglas_peuckerFunction · 0.45
newMethod · 0.45
convex_hull_grahamFunction · 0.45
solveMethod · 0.45
patience_sortFunction · 0.45
generateFunction · 0.45
multiplyFunction · 0.45
build_huffman_treeFunction · 0.45
run_length_decodingFunction · 0.45
nextMethod · 0.45

Calls 2

heapify_downMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected