|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Educational examples for indexed nodes (O(log n) node search) More...
Go to the source code of this file.
Functions | |
| int | main () |
Educational examples for indexed nodes (O(log n) node search)
Maintains a binary search tree of graph nodes indexed by their values Enables O(log n) search instead of O(n) linear scan Automatically prevents duplicate node values
g++ -std=c++20 -I.. -o tpl_indexNode_example tpl_indexNode_example.cc ./tpl_indexNode_example
Definition in file tpl_indexNode_example.cc.
| int main | ( | void | ) |