MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / predict_words

Method predict_words

data_structures/trie_using_hashmap.cpp:188–212  ·  view source on GitHub ↗

* @brief predict/recommend a word that starts with a given prefix * @param prefix string to search for * @returns list of recommended words */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.80

Calls 3

findMethod · 0.80
push_backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected