Starting from:

$29

 Project 2 Implement a function int count keys

Project 2

Implement a function
int count keys(tree node t *tree, key t a, key t b);
that counts the keys x with a ≤ x ≤ b in the leaf nodes of the given search tree. The
function should work with the given code for a height-balanced tree. Do not include the
code of the height-balanced tree in your submission; submit only the code you wrote
yourself.

More products