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

Method _get_k_th

data_structures/treap.cpp:139–148  ·  view source on GitHub ↗

* @brief Find the KTH largest value (internal method) * @param x Query the subtree of node x (Usually x=root) * @param k The queried rank * @return The element ranked number k */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected