A hierarchical data structure consisting of nodes connected by edges. Choose an algorithm below to launch its interactive simulation workstation.
Showing 17 of 17 algorithms
Remove root element from max-heap and sift down to restore heap property.
Search for word or prefix character-by-character in a prefix tree.
Insert a new value into a Binary Search Tree maintaining the BST property.
Execute range sum query over segment tree intervals in logarithmic time.
Update a leaf node and propagate sum updates up to the root.
Delete a word from a prefix tree and prune redundant unshared branches.