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

Method get

src/data_structures/trie.rs:69–78  ·  view source on GitHub ↗

Retrieves a reference to the value associated with a sequence of keys, if it exists. # Arguments - `key`: An iterable sequence of keys (e.g., characters in a string or integers in a vector). # Returns An `Option` containing a reference to the value if the sequence of keys exists in the Trie, or `None` if it does not.

(&self, key: impl IntoIterator<Item = Key>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

subarray_sum_equals_kFunction · 0.45
two_sumFunction · 0.45
huffman_decodeFunction · 0.45
calc_match_shiftFunction · 0.45
calc_mismatch_shiftFunction · 0.45
searchMethod · 0.45
check_mappingFunction · 0.45
findMethod · 0.45
add_nodeMethod · 0.45
neighboursMethod · 0.45
containsMethod · 0.45
findMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected